mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
reload when icon changed
Change-Id: I0fce38f54f2cc4cc151993dc7dd88901b5d9aa36
This commit is contained in:
parent
f96dca936a
commit
5783a30c11
Notes:
Deepin Code Review
2016-09-20 14:45:39 +08:00
Verified+1: Anonymous Coward #1000004 Code-Review+2: Iceyer <me@iceyer.net> Submitted-by: 石博文 <sbw@sbw.so> Submitted-at: Tue, 20 Sep 2016 14:45:39 +0800 Reviewed-on: https://cr.deepin.io/16131 Project: dde/dde-dock Branch: refs/heads/master
@ -47,6 +47,7 @@ AppItem::AppItem(const QDBusObjectPath &entry, QWidget *parent)
|
||||
|
||||
connect(m_itemEntry, &DBusDockEntry::ActiveChanged, this, &AppItem::activeChanged);
|
||||
connect(m_itemEntry, &DBusDockEntry::TitlesChanged, this, &AppItem::updateTitle);
|
||||
connect(m_itemEntry, &DBusDockEntry::IconChanged, this, &AppItem::updateIcon);
|
||||
connect(m_itemEntry, &DBusDockEntry::ActiveChanged, this, static_cast<void (AppItem::*)()>(&AppItem::update));
|
||||
|
||||
connect(m_updateIconGeometryTimer, &QTimer::timeout, this, &AppItem::updateWindowIconGeometries);
|
||||
|
Loading…
x
Reference in New Issue
Block a user