fix app name is empty

Change-Id: I26d7be662f4fcff2ee928cef9fe3c2b51adac5e4
This commit is contained in:
石博文 2018-02-23 11:53:40 +08:00
parent 67b7ef44f5
commit e32da67aaf
Notes: Deepin Code Review 2018-02-23 11:58:17 +08:00
Verified+1: Anonymous Coward #1000004
Code-Review+2: 石博文 <sbw@sbw.so>
Submitted-by: 石博文 <sbw@sbw.so>
Submitted-at: Fri, 23 Feb 2018 11:58:17 +0800
Reviewed-on: https://cr.deepin.io/31829
Project: dde/dde-dock
Branch: refs/heads/master

View File

@ -158,7 +158,6 @@ AppItem::AppItem(const QDBusObjectPath &entry, QWidget *parent)
m_updateIconGeometryTimer->setSingleShot(true);
m_appPreviewTips->setVisible(false);
m_itemEntryInter->setSync(false);
connect(m_itemEntryInter, &DockEntryInter::IsActiveChanged, this, &AppItem::activeChanged);
connect(m_itemEntryInter, &DockEntryInter::IsActiveChanged, this, static_cast<void (AppItem::*)()>(&AppItem::update));