]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/tests/testbase.cpp
1. Also use a time out when waiting for the view's selectionChanged signal.
[dolphin.git] / src / tests / testbase.cpp
index 2161c9314c4ca6b7a18d3850e31e538da121371a..dbe4ee5de6af1cd7c91976582d1ae36a29a5cb7d 100644 (file)
@@ -67,7 +67,7 @@ QAbstractItemView* TestBase::itemView () const
 void TestBase::reloadViewAndWait()
 {
     m_view->reload();
-    QVERIFY(QTest::kWaitForSignal(m_view, SIGNAL(finishedPathLoading(const KUrl&)), 5000));
+    QVERIFY(QTest::kWaitForSignal(m_view, SIGNAL(finishedPathLoading(const KUrl&)), 2000));
 }
 
 KUrl TestBase::testDirUrl() const