diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-11-09 13:52:31 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2009-11-11 17:21:22 (GMT) |
commit | 55b4ab13357e55c2543ce671e4366d9f4e081aca (patch) | |
tree | fa01defc2045522ab7792ba9e4273dab680355fb /tests | |
parent | 81b0b20db30d3e63412776d71119f0d0aa5b505b (diff) | |
download | Qt-55b4ab13357e55c2543ce671e4366d9f4e081aca.zip Qt-55b4ab13357e55c2543ce671e4366d9f4e081aca.tar.gz Qt-55b4ab13357e55c2543ce671e4366d9f4e081aca.tar.bz2 |
tst_qcombobox: compile without Qt3 support
Reviewed-by: TrustMe
Diffstat (limited to 'tests')
-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); |