]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/tests/dolphinmainwindowtest.cpp
Drop dead code
[dolphin.git] / src / tests / dolphinmainwindowtest.cpp
index be86c5016f58a6b6c5fd4db05e2ad441c19f5258..26036c9afaa8a0276c1a6177ebb2246b0103ded4 100644 (file)
@@ -47,7 +47,7 @@ void DolphinMainWindowTest::testClosingTabsWithSearchBoxVisible()
     m_mainWindow->openDirectories({ QUrl::fromLocalFile(QDir::homePath()) }, false);
     m_mainWindow->show();
     // Without this call the searchbox doesn't get FocusIn events.
-    QTest::qWaitForWindowExposed(m_mainWindow.data());
+    QVERIFY(QTest::qWaitForWindowExposed(m_mainWindow.data()));
     QVERIFY(m_mainWindow->isVisible());
 
     auto tabWidget = m_mainWindow->findChild<DolphinTabWidget*>("tabWidget");