if d->dialog is child of view when the formfactor changes the dialog is

done on the canvas, in the panel, so mostly invisible
so delete it by hand

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857881
This commit is contained in:
Marco Martin 2008-09-06 20:04:59 +00:00
parent f5168c65de
commit 37b09554ce

View File

@ -206,7 +206,7 @@ void PopupApplet::constraintsEvent(Plasma::Constraints constraints)
} }
if (!d->dialog) { if (!d->dialog) {
d->dialog = new Plasma::Dialog(view()); d->dialog = new Plasma::Dialog();
//no longer use Qt::Popup since that seems to cause a lot of problem when you drag //no longer use Qt::Popup since that seems to cause a lot of problem when you drag
//stuff out of your Dialog (extenders). Monitor WindowDeactivate events so we can //stuff out of your Dialog (extenders). Monitor WindowDeactivate events so we can