mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
plasma: fix systemtray deadlock
the applet has to be disconnected because when the applet is destroyed (by the qDeleteAll() call) it triggers layout update Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
e728419f56
commit
d5f68610e6
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ void SystemTrayApplet::slotUpdateLayout()
|
|||
m_popuptimer->stop();
|
||||
QMutexLocker locker(&m_mutex);
|
||||
foreach (Plasma::Applet* plasmaapplet, m_applets) {
|
||||
disconnect(plasmaapplet, 0, this, 0);
|
||||
m_layout->removeItem(plasmaapplet);
|
||||
}
|
||||
qDeleteAll(m_applets);
|
||||
|
|
Loading…
Add table
Reference in a new issue