KDE/kdebase/workspace/plasma/applets/kickoff/applet

Alexis Ménard darktears31 at gmail.com
Fri Aug 1 20:01:14 CEST 2008


SVN commit 840754 by menard:

Fix a kickoff problem when we leave plasma, the custom size is not restored properly

CCMAIL:plasma-devel at kde.org


 M  +1 -3      applet.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/applet/applet.cpp #840753:840754
@@ -66,7 +66,7 @@
     launcher = new Kickoff::Launcher(q);
     launcher->setWindowFlags(launcher->windowFlags()|Qt::WindowStaysOnTopHint|Qt::Popup);
     launcher->setAutoHide(true);
-    launcher->adjustSize();
+    launcher->resize(launcher->sizeHint());
     QObject::connect(launcher, SIGNAL(aboutToHide()), icon, SLOT(setUnpressed()));
     QObject::connect(launcher, SIGNAL(configNeedsSaving()), q, SIGNAL(configNeedsSaving()));
 }
@@ -218,11 +218,9 @@
         if (pv) {
             loc = pv->containment()->location();
         }
-
         d->launcher->setLauncherOrigin( iconPosition, loc );
         emit releaseVisualFocus();
     }
-
     d->launcher->setVisible(!d->launcher->isVisible());
     d->icon->setPressed();
 }


More information about the Plasma-devel mailing list