From a90daf82b6a836eb4c579ff4752900cffc63aa3e Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Sat, 3 Feb 2018 22:34:24 +0100 Subject: Fix -Wunused-result warnings --- src/tests/kitemlistcontrollertest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/kitemlistcontrollertest.cpp') diff --git a/src/tests/kitemlistcontrollertest.cpp b/src/tests/kitemlistcontrollertest.cpp index 79455844a..a468ca6dc 100644 --- a/src/tests/kitemlistcontrollertest.cpp +++ b/src/tests/kitemlistcontrollertest.cpp @@ -143,7 +143,7 @@ void KItemListControllerTest::initTestCase() QVERIFY(spyDirectoryLoadingCompleted.wait()); m_container->show(); - QTest::qWaitForWindowExposed(m_container); + QVERIFY(QTest::qWaitForWindowExposed(m_container)); } void KItemListControllerTest::cleanupTestCase() -- cgit v1.3