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

List:       kde-commits
Subject:    branches/work/plasma-desktoplayout/kdelibs-plasma
From:       Ambroz Bizjak <ambro () b4ever ! net>
Date:       2008-12-21 1:19:07
Message-ID: 1229822347.550493.18307.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 899522 by abizjak:

Don't wait for startup complete, it's delaying setting the geometry.


 M  +0 -9      popupapplet.cpp  
 M  +0 -1      private/popupapplet_p.h  


--- branches/work/plasma-desktoplayout/kdelibs-plasma/popupapplet.cpp #899521:899522
@@ -128,14 +128,6 @@
 
 void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
 {
-    if (constraints & Plasma::StartupCompletedConstraint) {
-        startupComplete = true;
-    }
-
-    if (!startupComplete) {
-        return;
-    }
-
     Plasma::FormFactor f = q->formFactor();
 
     if (constraints & Plasma::LocationConstraint) {
@@ -433,7 +425,6 @@
           popupPlacement(Plasma::FloatingPopup),
           savedAspectRatio(Plasma::InvalidAspectRatioMode),
           timer(0),
-          startupComplete(false),
           popupLostFocus(false),
           passive(false)
 {
--- branches/work/plasma-desktoplayout/kdelibs-plasma/private/popupapplet_p.h #899521:899522
@@ -46,7 +46,6 @@
     Plasma::AspectRatioMode savedAspectRatio;
     QTimer *timer;
     QPoint clicked;
-    bool startupComplete : 1;
     bool popupLostFocus : 1;
     bool passive : 1;
 };
[prev in list] [next in list] [prev in thread] [next in thread] 

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