diff options
author | Dominik Holland <dominik.holland@nokia.com> | 2010-07-27 07:33:13 (GMT) |
---|---|---|
committer | Harald Fernengel <harald.fernengel@nokia.com> | 2010-11-02 14:28:50 (GMT) |
commit | 7a763f19996bc892a63d021e64c570cbfb13f391 (patch) | |
tree | a0627b241376d982424d3208d3d7eb18ce04cb67 /tests | |
parent | 9967695bf224d6518fa411f0441e0605e61e0bf5 (diff) | |
download | Qt-7a763f19996bc892a63d021e64c570cbfb13f391.zip Qt-7a763f19996bc892a63d021e64c570cbfb13f391.tar.gz Qt-7a763f19996bc892a63d021e64c570cbfb13f391.tar.bz2 |
Fixed QTreeWidget autotest. Added qWaitForWindowShown()
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qtreewidget/tst_qtreewidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qtreewidget/tst_qtreewidget.cpp b/tests/auto/qtreewidget/tst_qtreewidget.cpp index 77d353d..32bf557 100644 --- a/tests/auto/qtreewidget/tst_qtreewidget.cpp +++ b/tests/auto/qtreewidget/tst_qtreewidget.cpp @@ -464,6 +464,7 @@ void tst_QTreeWidget::editItem() QTreeWidget tree; populate(&tree, topLevelItems, new TreeItem(QStringList() << "1" << "2")); tree.show(); + QTest::qWaitForWindowShown(&tree); QSignalSpy itemChangedSpy( &tree, SIGNAL(itemChanged(QTreeWidgetItem*,int))); |