the applet has to be disconnected because when the applet is destroyed (by
the qDeleteAll() call) it triggers layout update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
this is special case for (notably) passive popups (such as the
notifications applet which has not only automatic popup but also sticks
until deactivated), to do that optimally a signal from
Plasma::PopupApplet::popupEvent() may be emitted in the future so that the
popup status is not checked on timer.
on a side note the old systemtray applet did not handle that case properly
and the notifications applet was not hidden sometimes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>