User code might want to keep a QPointer around e.g. to prevent
double instantiation of some box, or delete it automatically
after a while.
Change-Id: Iaa994c2abf321c35ffb3bcb0050d72939c55d941
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
The MainWindow was not always the first window and active has to returned
instead of a nullptr. Using dialogParent should fix it.
Change-Id: If78edb5e9567111aa998bbe5da70b3f148a3fd16
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>