<div dir="ltr">Backport on 4.1?<br><br><div class="gmail_quote">On Fri, Aug 1, 2008 at 8:01 PM, Alexis Ménard <span dir="ltr"><<a href="mailto:darktears31@gmail.com">darktears31@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
SVN commit 840754 by menard:<br>
<br>
Fix a kickoff problem when we leave plasma, the custom size is not restored properly<br>
<br>
<a href="mailto:CCMAIL%3Aplasma-devel@kde.org">CCMAIL:plasma-devel@kde.org</a><br>
<br>
<br>
M +1 -3 applet.cpp<br>
<br>
<br>
--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/applet/applet.cpp #840753:840754<br>
@@ -66,7 +66,7 @@<br>
launcher = new Kickoff::Launcher(q);<br>
launcher->setWindowFlags(launcher->windowFlags()|Qt::WindowStaysOnTopHint|Qt::Popup);<br>
launcher->setAutoHide(true);<br>
- launcher->adjustSize();<br>
+ launcher->resize(launcher->sizeHint());<br>
QObject::connect(launcher, SIGNAL(aboutToHide()), icon, SLOT(setUnpressed()));<br>
QObject::connect(launcher, SIGNAL(configNeedsSaving()), q, SIGNAL(configNeedsSaving()));<br>
}<br>
@@ -218,11 +218,9 @@<br>
if (pv) {<br>
loc = pv->containment()->location();<br>
}<br>
-<br>
d->launcher->setLauncherOrigin( iconPosition, loc );<br>
emit releaseVisualFocus();<br>
}<br>
-<br>
d->launcher->setVisible(!d->launcher->isVisible());<br>
d->icon->setPressed();<br>
}<br>
</blockquote></div><br></div>