[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/tasks
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2009-08-03 0:40:43
Message-ID: 1249260043.241830.15642.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1006089 by aseigo:

this probably makes it even clearer


 M  +3 -1      tasks.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/tasks/tasks.cpp #1006088:1006089
@@ -402,8 +402,10 @@
     Q_UNUSED(status)
     QWidget *widget = qobject_cast<QWidget *>(sender());
 
-    if (widget->isVisible()) {
+    if (status && widget->isVisible()) {
         m_popupDialog = widget;
+    } else if (m_popupDialog == widget) {
+        m_popupDialog = 0;
     }
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic