┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests/dolphinmainwindowtest.cpp
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2018-02-03 22:34:24 +0100
committerElvis Angelaccio <[email protected]>2018-02-03 22:34:24 +0100
commita90daf82b6a836eb4c579ff4752900cffc63aa3e (patch)
tree99c1361074babfdf275e6068f79d0a2f64871c49 /src/tests/dolphinmainwindowtest.cpp
parentbf1081a824d9024a400d2ac2437f169c6765caa5 (diff)
Fix -Wunused-result warnings
Diffstat (limited to 'src/tests/dolphinmainwindowtest.cpp')
-rw-r--r--src/tests/dolphinmainwindowtest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/dolphinmainwindowtest.cpp b/src/tests/dolphinmainwindowtest.cpp
index be86c5016..26036c9af 100644
--- a/src/tests/dolphinmainwindowtest.cpp
+++ b/src/tests/dolphinmainwindowtest.cpp
@@ -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");