diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-11-09 13:52:31 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-11-09 13:52:31 (GMT) |
commit | 9ca20dbec233aa3f8b8a720f34b843c3718519d6 (patch) | |
tree | 6296ca30186f740677838cf1aaed21063be65c64 /tests/auto/qcombobox | |
parent | 68409c24211b4639832ce86113c33a247bb68950 (diff) | |
download | Qt-9ca20dbec233aa3f8b8a720f34b843c3718519d6.zip Qt-9ca20dbec233aa3f8b8a720f34b843c3718519d6.tar.gz Qt-9ca20dbec233aa3f8b8a720f34b843c3718519d6.tar.bz2 |
tst_qcombobox: compile without Qt3 support
Reviewed-by: TrustMe
Diffstat (limited to 'tests/auto/qcombobox')
-rw-r--r-- | tests/auto/qcombobox/tst_qcombobox.cpp | 4 |
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); |