summaryrefslogtreecommitdiffstats
path: root/tests/auto/qcombobox
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2009-09-28 13:48:48 (GMT)
committerJoão Abecasis <joao@abecasis.name>2009-09-28 14:24:49 (GMT)
commit2d1f2ceb7cd00db6e6cc72f614222d66dca6e23a (patch)
treefe1922eafc03d12e6c8b70ef797f2ba292cca96d /tests/auto/qcombobox
parent86f5a63b01844125fb4a4e5adc23d6539dd8564e (diff)
downloadQt-2d1f2ceb7cd00db6e6cc72f614222d66dca6e23a.zip
Qt-2d1f2ceb7cd00db6e6cc72f614222d66dca6e23a.tar.gz
Qt-2d1f2ceb7cd00db6e6cc72f614222d66dca6e23a.tar.bz2
Fixing the autotest for other platforms, hopefully...
Reviewed-by: Joerg Bornemann
Diffstat (limited to 'tests/auto/qcombobox')
-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 61aabaa..6984a88 100644
--- a/tests/auto/qcombobox/tst_qcombobox.cpp
+++ b/tests/auto/qcombobox/tst_qcombobox.cpp
@@ -2120,7 +2120,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));