mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
Fix plugins item not delete
Change-Id: I8dae4579373e1e41b15607a3d197ec2fa42e5665
This commit is contained in:
parent
d772fe206d
commit
389b1f4b63
Notes:
Deepin Code Review
2017-03-07 16:14:17 +08:00
Verified+1: Anonymous Coward #1000004 Code-Review+2: 石博文 <sbw@sbw.so> Submitted-by: 石博文 <sbw@sbw.so> Submitted-at: Tue, 07 Mar 2017 16:14:17 +0800 Reviewed-on: https://cr.deepin.io/21132 Project: dde/dde-dock Branch: refs/heads/master
@ -55,7 +55,7 @@ void DockPluginsController::itemRemoved(PluginsItemInterface * const itemInter,
|
||||
emit pluginItemRemoved(item);
|
||||
|
||||
m_pluginList[itemInter].remove(itemKey);
|
||||
item->deleteLater();
|
||||
QTimer::singleShot(1, item, &PluginsItem::deleteLater);
|
||||
}
|
||||
|
||||
//void DockPluginsController::requestRefershWindowVisible()
|
||||
|
Loading…
x
Reference in New Issue
Block a user