mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
bugfix: Item's title will show in top-left corner on first open
Change-Id: I0a1afb72b49743feeebeabd0d3f41ae0643d9c2d
This commit is contained in:
parent
9e047993ec
commit
be985ca876
Notes:
Deepin Code Review
2016-06-14 07:19:47 +00:00
Verified+1: Anonymous Coward #1000004 Code-Review+2: <mr.asianwang@gmail.com> Submitted-by: <mr.asianwang@gmail.com> Submitted-at: Wed, 16 Sep 2015 10:01:15 +0800 Reviewed-on: https://cr.deepin.io/7066 Project: dde/dde-dock Branch: refs/heads/master
@ -146,6 +146,7 @@ void AbstractDockItem::showPreview()
|
||||
}
|
||||
|
||||
if (tmpContent) {
|
||||
m_titleLabel->setParent(NULL);
|
||||
m_previewAR->setContent(tmpContent);
|
||||
m_previewAR->showPreview(ArrowRectangle::ArrowBottom,
|
||||
globalX() + width() / 2,
|
||||
|
Loading…
x
Reference in New Issue
Block a user