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

List:       kde-commits
Subject:    branches/KDE/4.6/kdebase/workspace/plasma/generic/applets/notifications/ui
From:       Marco Martin <notmart () gmail ! com>
Date:       2011-01-06 17:27:23
Message-ID: 20110106172723.197FB3E1F1 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1212362 by mart:

backport empty tabs fix


 M  +5 -5      notificationgroup.cpp  


--- branches/KDE/4.6/kdebase/workspace/plasma/generic/applets/notifications/ui/notificationgroup.cpp \
#1212361:1212362 @@ -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