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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/generic/applets/notifications/ui
From:       Marco Martin <notmart () gmail ! com>
Date:       2011-01-06 17:26:42
Message-ID: 20110106172642.F00CFAC8B0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1212361 by mart:

close the dialog -after- cleaning up the tabbar, fixes dangling tabs


 M  +5 -5      notificationgroup.cpp  


--- trunk/KDE/kdebase/workspace/plasma/generic/applets/notifications/ui/notificationgroup.cpp \
#1212360:1212361 @@ -169,11 +169,6 @@
         }
     }
 
-    if (m_notifications.count() == 0) {
-        emit scrollerEmpty();
-        return;
-    }
-
     //clear tabbar
     for (int i = 1; i < m_notificationBar->count(); ++i) {
         if (!m_notificationsForApp.contains(m_notificationBar->tabText(i))) {
@@ -188,7 +183,12 @@
             }
         }
     }
+
+    if (m_notifications.count() == 0) {
+        emit scrollerEmpty();
+        return;
 }
+}
 
 
 void NotificationGroup::filterNotificationsByOwner(const QString &owner)


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

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