[AppletQuickItem] Preload applet expander only if not already expanded

Authored by broulik on Feb 23 2018, 11:59 AM.

Description

[AppletQuickItem] Preload applet expander only if not already expanded

When an applet is placed on the desktop and already shows its full representation, like Weather applet,
don't create the expander item.
The DefaultCompactApplet shows the dialog when plasmoid.expanded which will be always the case and you end up with an empty
window randomly showing up on startup.

Differential Revision: https://phabricator.kde.org/D10764

Details

Committed
broulikFeb 23 2018, 11:59 AM
Differential Revision
D10764: [AppletQuickItem] Preload applet expander only if not already expanded
Parents
R242:79fb4ebfa77f: other preload microoptimizations
Branches
Unknown
Tags
Unknown