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

List:       kde-commits
Subject:    KDE/kdelibs/plasma
From:       Marco Martin <notmart () gmail ! com>
Date:       2011-01-07 22:02:36
Message-ID: 20110107220236.A283EAC8B0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1212674 by mart:

just check for icon existence, no matter if it has a qicon or a svg set
fixes popup/complete switch when the panel gets resized


 M  +1 -1      popupapplet.cpp  


--- trunk/KDE/kdelibs/plasma/popupapplet.cpp #1212673:1212674
@@ -237,7 +237,7 @@
          (f == Plasma::Vertical || f == Plasma::Horizontal))) {
         QGraphicsLinearLayout *lay = dynamic_cast<QGraphicsLinearLayout *>(q->layout());
 
-        if (icon && !icon->icon().isNull() && lay && lay->count() > 0) {
+        if (icon && lay && lay->count() > 0) {
             lay->removeAt(0);
         }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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