summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmdiarea
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2012-12-14 13:26:02 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-19 15:10:29 +0100
commita1d757850e6e6fdad7ac2ebda8142f0e1419e7b9 (patch)
tree4b6ec535a8ca7c177277c398e434996377aef300 /tests/auto/qmdiarea
parent0a24cec5a11678ebefe08b331812adbb9b3368aa (diff)
QMdiArea: Increase minimum size for Windows 8/Large fonts.
Task-number: QTBUG-28611 Change-Id: I115a5fa6726ac99c2bbff4ec65d3f8856b2530df Reviewed-by: Oliver Wolff <oliver.wolff@digia.com> (cherry picked from qtbase/3e3451f42989a0dbd2398da78ad84441c7898fd3) Reviewed-by: Janne Anttila <janne.anttila@digia.com>
Diffstat (limited to 'tests/auto/qmdiarea')
-rw-r--r--tests/auto/qmdiarea/tst_qmdiarea.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qmdiarea/tst_qmdiarea.cpp b/tests/auto/qmdiarea/tst_qmdiarea.cpp
index e02eb5ef53..4bbcef1b00 100644
--- a/tests/auto/qmdiarea/tst_qmdiarea.cpp
+++ b/tests/auto/qmdiarea/tst_qmdiarea.cpp
@@ -1763,9 +1763,9 @@ void tst_QMdiArea::tileSubWindows()
QTRY_COMPARE(workspace.viewport()->rect().size(), expectedViewportSize);
// Not enough space for all sub-windows to be visible -> provide scroll bars.
- workspace.resize(150, 150);
+ workspace.resize(160, 150);
qApp->processEvents();
- QTRY_COMPARE(workspace.size(), QSize(150, 150));
+ QTRY_COMPARE(workspace.size(), QSize(160, 150));
// Horizontal scroll bar.
QScrollBar *hBar = workspace.horizontalScrollBar();