summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-03-25 11:53:29 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-03-25 11:54:00 (GMT)
commit817e34429fe6e46785fa439aaf172072d4327ef3 (patch)
tree905e2fdb8172a91368d3210bc41707cf08da07a9
parent02a4a5823fdc21ee99e872b7c655e6ad4438ecc2 (diff)
downloadQt-817e34429fe6e46785fa439aaf172072d4327ef3.zip
Qt-817e34429fe6e46785fa439aaf172072d4327ef3.tar.gz
Qt-817e34429fe6e46785fa439aaf172072d4327ef3.tar.bz2
Fix QComboBox test with vertical panels
Reviewed-by: Thierry
-rw-r--r--tests/auto/qcombobox/tst_qcombobox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qcombobox/tst_qcombobox.cpp b/tests/auto/qcombobox/tst_qcombobox.cpp
index dbe2f22..70059f2 100644
--- a/tests/auto/qcombobox/tst_qcombobox.cpp
+++ b/tests/auto/qcombobox/tst_qcombobox.cpp
@@ -2132,7 +2132,7 @@ void tst_QComboBox::task248169_popupWithMinimalSize()
QFrame *container = qFindChild<QComboBoxPrivateContainer *>(&comboBox);
QVERIFY(container);
- QVERIFY(desktop.availableGeometry().contains(container->geometry()));
+ QVERIFY(desktop.screenGeometry(container).contains(container->geometry()));
}
void tst_QComboBox::task247863_keyBoardSelection()