Dialogs must know when they are closed by the operating system
authorShawn Rutledge <shawn.rutledge@digia.com>
Thu, 21 Aug 2014 14:26:47 +0000 (16:26 +0200)
committerShawn Rutledge <shawn.rutledge@digia.com>
Mon, 25 Aug 2014 13:24:03 +0000 (15:24 +0200)
commit45484e3f70cfb430e861754253f46fae1d745fda
tree054030386bdf0a8d095e3d45db95e3e26b6a136d
parentbb844065944049d836736192505ea28973f39444
Dialogs must know when they are closed by the operating system

The dialog cannot be opened again if it does not know that it was
closed.  So whenever there is a native window, the visibleChanged signal
must be connected.

Task-number: QTBUG-40855
Change-Id: I0726b7568937a19deba067d43ce72b0579f7c4c5
Reviewed-by: Liang Qi <liang.qi@digia.com>
src/dialogs/qquickabstractdialog.cpp
src/dialogs/qquickabstractdialog_p.h