mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-20 00:41:23 +00:00
Set the transient hint only on the first shown dialog, not on all of them.
E.g. the file open dialog can shown another dialog for creating a directory, and that one has to be transient for the file open dialog. svn path=/trunk/kdebase/kdialog/; revision=263404
This commit is contained in:
parent
c147c9acb0
commit
0538c72cee
|
@ -114,6 +114,7 @@ bool WinIdEmbedder::eventFilter(QObject *o, QEvent *e)
|
|||
if (id)
|
||||
XSetTransientForHint(w->x11Display(), w->winId(), id);
|
||||
#endif
|
||||
delete this; // delete - set the transient hint only on the first dialog
|
||||
}
|
||||
return QObject::eventFilter(o, e);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue