summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2009-11-09 13:52:31 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2009-11-09 13:52:31 (GMT)
commit9ca20dbec233aa3f8b8a720f34b843c3718519d6 (patch)
tree6296ca30186f740677838cf1aaed21063be65c64 /tests
parent68409c24211b4639832ce86113c33a247bb68950 (diff)
downloadQt-9ca20dbec233aa3f8b8a720f34b843c3718519d6.zip
Qt-9ca20dbec233aa3f8b8a720f34b843c3718519d6.tar.gz
Qt-9ca20dbec233aa3f8b8a720f34b843c3718519d6.tar.bz2
tst_qcombobox: compile without Qt3 support
Reviewed-by: TrustMe
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qcombobox/tst_qcombobox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qcombobox/tst_qcombobox.cpp b/tests/auto/qcombobox/tst_qcombobox.cpp
index 18ebddc..cc59b62 100644
--- a/tests/auto/qcombobox/tst_qcombobox.cpp
+++ b/tests/auto/qcombobox/tst_qcombobox.cpp
@@ -2517,8 +2517,8 @@ void tst_QComboBox::task_QTBUG_1071_changingFocusEmitsActivated()
cb.addItem("1");
cb.addItem("2");
QLineEdit edit;
- layout.add(&cb);
- layout.add(&edit);
+ layout.addWidget(&cb);
+ layout.addWidget(&edit);
w.show();
QTest::qWaitForWindowShown(&w);