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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/systemtray/ui
From:       Rob Scheepmaker <r.scheepmaker () student ! utwente ! nl>
Date:       2009-09-03 17:50:04
Message-ID: 1252000204.531619.6953.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1019471 by scheepmaker:

Let's just show the close button on notifications even on those with actions, because \
that works correctly now.



 M  +2 -2      notificationwidget.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/systemtray/ui/notificationwidget.cpp \
#1019470:1019471 @@ -225,15 +225,15 @@
         imageHeight = notification->image().size().height();
     }
 
+    extenderItem->showCloseButton();
+
     //set the correct size hint and display a close action if no actions are \
provided by the  //notification
     qreal bodyHeight = body->boundingRect().height();
     if (actionsWidget) {
-        extenderItem->hideCloseButton();
         q->setPreferredWidth(qMax(q->preferredWidth(), \
                actionsWidget->preferredWidth()));
         q->setPreferredHeight(qMax(bodyHeight + actionsWidget->size().height(), \
imageHeight));  } else {
-        extenderItem->showCloseButton();
         q->setPreferredHeight(qMax(bodyHeight, imageHeight));
     }
 }


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

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