diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-06-09 04:21:34 (GMT) |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-06-09 04:24:11 (GMT) |
commit | ebbfbe432671d899fb08ac8775e6e36d86f1c010 (patch) | |
tree | 696db91332a068fbdcbb195973520ed6aded1d8a /tests/auto/qcombobox | |
parent | d6d586d4b05f416d89fcaf59c863245f1cb7d9ae (diff) | |
download | Qt-ebbfbe432671d899fb08ac8775e6e36d86f1c010.zip Qt-ebbfbe432671d899fb08ac8775e6e36d86f1c010.tar.gz Qt-ebbfbe432671d899fb08ac8775e6e36d86f1c010.tar.bz2 |
Fixed crash in tst_qcombobox when Qt is built in debug mode.
"QTableWidget::setModel() - Changing the model of the QTableWidget is
not allowed."
Diffstat (limited to 'tests/auto/qcombobox')
-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 816b2e8..5321348 100644 --- a/tests/auto/qcombobox/tst_qcombobox.cpp +++ b/tests/auto/qcombobox/tst_qcombobox.cpp @@ -2197,8 +2197,8 @@ void tst_QComboBox::noScrollbar() { QTableWidget *table = new QTableWidget(2,2); QComboBox comboBox; - comboBox.setView(table); comboBox.setModel(table->model()); + comboBox.setView(table); comboBox.show(); QTest::qWait(100); comboBox.resize(200, comboBox.height()); |