mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
plasma: take popup status into account in SystemTrayApplet::slotShowHidden()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b6b0e52456
commit
56cf42f744
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ void SystemTrayApplet::slotShowHidden()
|
||||||
// TODO: animation, perhaps via layout item to animate all hidden applets via single animation
|
// TODO: animation, perhaps via layout item to animate all hidden applets via single animation
|
||||||
QMutexLocker locker(&m_mutex);
|
QMutexLocker locker(&m_mutex);
|
||||||
foreach (Plasma::Applet* plasmaapplet, m_applets) {
|
foreach (Plasma::Applet* plasmaapplet, m_applets) {
|
||||||
if (plasmaapplet->status() == Plasma::PassiveStatus) {
|
if (plasmaapplet->status() == Plasma::PassiveStatus && !plasmaapplet->isPopupShowing()) {
|
||||||
plasmaapplet->setVisible(!m_showinghidden);
|
plasmaapplet->setVisible(!m_showinghidden);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue