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

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


Backport on 4.1?

On Fri, Aug 1, 2008 at 8:01 PM, Alexis Ménard <darktears31 at gmail.com> wrote:

> 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 <CCMAIL%3Aplasma-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();
>  }
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20080801/85e9c47b/attachment.html 


More information about the Plasma-devel mailing list