QtQuick.Dialogs: on single-window platforms, don't resize the window
authorShawn Rutledge <shawn.rutledge@digia.com>
Wed, 25 Sep 2013 12:22:29 +0000 (14:22 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 15 Oct 2013 06:08:11 +0000 (08:08 +0200)
commit270125b61404a8e7b0571e4e966f05995bb90800
tree3ac3acef072659ade61ed7fc1aeaf1ce42fc8f9f
parent6fbf62e8e1e1739a3c993de1cec785c0f7625602
QtQuick.Dialogs: on single-window platforms, don't resize the window

m_dialogWindow only needs to be set if the dialog has its own window,
because otherwise setters such as QQuickAbstractDialog::setHeight
(introduced in 37492efee021ccc6e550ecb67a3240b76eb2219e)
will result in reshaping the main application window instead of the
dialog.  Also the window decoration's translucent "veil" should
expand to fit the whole application.

Change-Id: I16fdb48c54dbc5e758dfec1f18063579ac2bbb05
Reviewed-by: Liang Qi <liang.qi@digia.com>
src/imports/dialogs/qquickabstractdialog.cpp