Don't parent dialogs using WId
This causes glitches in the parent dialog, as winId causes problems when called on non-toplevel widgets, as done here.
Using window()->winId()
instead would also have fixed this, but using the QWidget-based parenting API seems more robust.
similar to 58b5d8fa
Edited by Tobias Fella