diff options
author | João Abecasis <joao@abecasis.name> | 2009-09-28 13:48:48 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-10-05 15:48:41 (GMT) |
commit | fdc233d73f40489b9084b5acaf3148d2133689ee (patch) | |
tree | 0e2bd10c10b2e3fbdc9cf0f9913c81e6af224b76 | |
parent | 509cd7c93248d1e58be4f5dc2368a8707e923329 (diff) | |
download | Qt-fdc233d73f40489b9084b5acaf3148d2133689ee.zip Qt-fdc233d73f40489b9084b5acaf3148d2133689ee.tar.gz Qt-fdc233d73f40489b9084b5acaf3148d2133689ee.tar.bz2 |
Fixing the autotest for other platforms, hopefully...
Reviewed-by: Joerg Bornemann
-rw-r--r-- | tests/auto/qcombobox/tst_qcombobox.cpp | 2 |
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)); |