Don't wait for startup complete, it makes the applet obtain
proper geometry too late, which causes the desktop applet positioning
algorithm to calculate a wrong initial position.
BUG: 181854
svn path=/branches/KDE/4.2/kdelibs/; revision=920881
The Plasma::Dialog is initially created without a parent, but can later be
reparented to the Plasma::View. The problem with this is that when plasma
quits, the view and its children are deleted before the scene and its children.
So when the PopupApplet destructor is invoked, it tries to delete what is now
a dangling pointer.
Solve this problem by wrapping the dialog pointer in a QPointer.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867830
* try harder to create a layout when we might need one
* remove the "setting a default icon" stuff in the ctor; it was misguided and really just covering up for a bug in popupConstraintsEvent
* fix said bug in popupConstraintsEvent (don't check for icon before laying things out in non-vert/horiz formfactors)
* don't put an event filter on the graphics item. i have no idea what the idea behind that was (hooray for no comments! =), perhaps Richard S. can enlighten us as it was one of his commits ..
CCMAIL:r.scheepmaker@student.utwente.nl
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867506