diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-08-21 16:26:47 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-08-25 15:24:03 +0200 |
commit | 45484e3f70cfb430e861754253f46fae1d745fda (patch) | |
tree | 054030386bdf0a8d095e3d45db95e3e26b6a136d /src/dialogs/qquickabstractdialog_p.h | |
parent | bb844065944049d836736192505ea28973f39444 (diff) | |
download | qtquickcontrols-45484e3f70cfb430e861754253f46fae1d745fda.tar.gz |
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>
Diffstat (limited to 'src/dialogs/qquickabstractdialog_p.h')
-rw-r--r-- | src/dialogs/qquickabstractdialog_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dialogs/qquickabstractdialog_p.h b/src/dialogs/qquickabstractdialog_p.h index a905b097..5af3216c 100644 --- a/src/dialogs/qquickabstractdialog_p.h +++ b/src/dialogs/qquickabstractdialog_p.h @@ -160,6 +160,7 @@ protected: // variables for pure-QML implementations only bool m_hasNativeWindows; QRect m_sizeAspiration; bool m_hasAspiredPosition; + bool m_visibleChangedConnected; static QQmlComponent *m_decorationComponent; |