Browse Source

Merge branch '340-ctkpathlistwidgetwithbuttonstester-timeout'

* 340-ctkpathlistwidgetwithbuttonstester-timeout:
  Fix timeout in ctkPathListWidgetWithButtonsTest with Qt 4.6.3
Julien Finet 12 years ago
parent
commit
0a2070b70e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Libs/Widgets/Testing/Cpp/ctkPathListWidgetWithButtonsTest.cpp

+ 1 - 0
Libs/Widgets/Testing/Cpp/ctkPathListWidgetWithButtonsTest.cpp

@@ -75,6 +75,7 @@ void ctkPathListWidgetWithButtonsTester::testButtons()
     {
       QTest::qWait(1000);
       QTimer::singleShot(0, QApplication::activeModalWidget(), SLOT(accept()));
+      QTest::qWait(1000);
     }
   };
   QThreadPool::globalInstance()->start(new CloseModalDialog);