summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtreewidget
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-05 13:43:45 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-05 14:13:52 (GMT)
commiteda93b795b044542a4247a086e4c2eed454123e4 (patch)
tree60f6a0356453f4553a34e8218bc39892443be0b0 /tests/auto/qtreewidget
parent3e574dc0d1b7b2ac351bdf077b86979c85de7972 (diff)
downloadQt-eda93b795b044542a4247a086e4c2eed454123e4.zip
Qt-eda93b795b044542a4247a086e4c2eed454123e4.tar.gz
Qt-eda93b795b044542a4247a086e4c2eed454123e4.tar.bz2
Test fix on Mac
Diffstat (limited to 'tests/auto/qtreewidget')
-rw-r--r--tests/auto/qtreewidget/tst_qtreewidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qtreewidget/tst_qtreewidget.cpp b/tests/auto/qtreewidget/tst_qtreewidget.cpp
index 4a74d96..11c4543 100644
--- a/tests/auto/qtreewidget/tst_qtreewidget.cpp
+++ b/tests/auto/qtreewidget/tst_qtreewidget.cpp
@@ -468,6 +468,7 @@ void tst_QTreeWidget::editItem()
QTest::ignoreMessage(QtWarningMsg, "edit: editing failed");
tree.editItem(item, col);
QApplication::instance()->processEvents();
+ QApplication::instance()->processEvents();
QLineEdit *editor = qFindChild<QLineEdit*>(&tree);
if (editor) {
QVERIFY(item->flags() & Qt::ItemIsEditable);