summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2009-09-28 13:48:48 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2009-10-05 15:48:41 (GMT)
commitfdc233d73f40489b9084b5acaf3148d2133689ee (patch)
tree0e2bd10c10b2e3fbdc9cf0f9913c81e6af224b76 /tests/auto
parent509cd7c93248d1e58be4f5dc2368a8707e923329 (diff)
downloadQt-fdc233d73f40489b9084b5acaf3148d2133689ee.zip
Qt-fdc233d73f40489b9084b5acaf3148d2133689ee.tar.gz
Qt-fdc233d73f40489b9084b5acaf3148d2133689ee.tar.bz2
Fixing the autotest for other platforms, hopefully...
Reviewed-by: Joerg Bornemann
Diffstat (limited to 'tests/auto')
-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 735433f..1b35939 100644
--- a/tests/auto/qcombobox/tst_qcombobox.cpp
+++ b/tests/auto/qcombobox/tst_qcombobox.cpp
@@ -2103,7 +2103,7 @@ void tst_QComboBox::task248169_popupWithMinimalSize()
comboBox.addItems(initialContent);
QDesktopWidget desktop;
QRect desktopSize = desktop.availableGeometry();
- comboBox.view()->setMinimumWidth(desktopSize.width() - 1);
+ comboBox.view()->setMinimumWidth(desktopSize.width() / 2);
comboBox.setGeometry(desktopSize.width() - (desktopSize.width() / 4), (desktopSize.width() / 4), (desktopSize.width() / 2), (desktopSize.width() / 4));