summaryrefslogtreecommitdiff
path: root/src/dialogs/qquickabstractdialog_p.h
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2014-10-08 16:20:26 +0200
committerShawn Rutledge <shawn.rutledge@digia.com>2014-10-13 11:42:18 +0200
commitaecdaf53ceb2f3fbb5b37b1977fbd74bc21bbb4f (patch)
treecb224eb1c66a9e1069a1853d261493a4a6a3bdf8 /src/dialogs/qquickabstractdialog_p.h
parentbcd07acd133d3851e202b4443b8184c6600abcb2 (diff)
downloadqtquickcontrols-aecdaf53ceb2f3fbb5b37b1977fbd74bc21bbb4f.tar.gz
Dialogs: if implicitHeight becomes smaller, ensure the minimum does too
Initial implicitHeight of the content can be wrong, but after showing the window, there's still a chance to get it right, for example to avoid showing MessageDialog larger than it needs to be. Task-number: QTBUG-41734 Change-Id: Ib6db8d0ebe4a3d29bfc6bc36c46caba6955a2294 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/dialogs/qquickabstractdialog_p.h')
-rw-r--r--src/dialogs/qquickabstractdialog_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dialogs/qquickabstractdialog_p.h b/src/dialogs/qquickabstractdialog_p.h
index a74c539b..cbf032a5 100644
--- a/src/dialogs/qquickabstractdialog_p.h
+++ b/src/dialogs/qquickabstractdialog_p.h
@@ -135,6 +135,7 @@ protected Q_SLOTS:
void windowGeometryChanged();
void minimumWidthChanged();
void minimumHeightChanged();
+ void implicitHeightChanged();
protected:
virtual QPlatformDialogHelper *helper() = 0;