summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/dialogs
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2012-12-28 17:35:54 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-08 13:54:04 +0100
commit54fd35b134af8d2a17c9c4ece531ddd2ee7258e2 (patch)
tree07353890fc345ff69920df14bb3a31a2bfe30b7e /tests/auto/widgets/dialogs
parent41acb58f23c78133657d3fb7d126b6df67e8846f (diff)
Fix warnings about not being able to set Window geometry on Windows.
Fully decorated windows cannot be smaller than 160x30 (Large fonts). Enlarge Windows or remove Window frame to get rid of decorations. Task-number: QTBUG-28611 Change-Id: Idb6ee94fb8d0760d5f97042b3084557f11e9fdf9 Reviewed-by: Oliver Wolff <oliver.wolff@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/widgets/dialogs')
-rw-r--r--tests/auto/widgets/dialogs/qdialog/tst_qdialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/widgets/dialogs/qdialog/tst_qdialog.cpp b/tests/auto/widgets/dialogs/qdialog/tst_qdialog.cpp
index 09fdd31495..ac460b1c7c 100644
--- a/tests/auto/widgets/dialogs/qdialog/tst_qdialog.cpp
+++ b/tests/auto/widgets/dialogs/qdialog/tst_qdialog.cpp
@@ -172,10 +172,10 @@ void tst_QDialog::showExtension_data()
QTest::addColumn<QSize>("result");
//next we fill it with data
- QTest::newRow( "data0" ) << QSize(100,100) << QSize(50,50) << false << QSize(100,150);
- QTest::newRow( "data1" ) << QSize(100,100) << QSize(120,50) << false << QSize(120,150);
- QTest::newRow( "data2" ) << QSize(100,100) << QSize(50,50) << true << QSize(150,100);
- QTest::newRow( "data3" ) << QSize(100,100) << QSize(50,120) << true << QSize(150,120);
+ QTest::newRow( "data0" ) << QSize(200,100) << QSize(50,50) << false << QSize(200,150);
+ QTest::newRow( "data1" ) << QSize(200,100) << QSize(220,50) << false << QSize(220,150);
+ QTest::newRow( "data2" ) << QSize(200,100) << QSize(50,50) << true << QSize(250,100);
+ QTest::newRow( "data3" ) << QSize(200,100) << QSize(50,120) << true << QSize(250,120);
}
void tst_QDialog::showExtension()