summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-12-06 06:59:14 +0100
committerMontel Laurent <[email protected]>2017-12-06 06:59:14 +0100
commitf86bf2c654a699cdf309ede53930ce650e752a5d (patch)
tree0a066f852bf0e415a57cc5f0ca6c7ceec9aa8ba2
parent39d9b1bee6fd685c4eac5ab6a2b6d65172178355 (diff)
test return value from QTest::qWaitForWindowExposed
-rw-r--r--src/libkdepimakonadi/addressline/blacklistbaloocompletion/autotests/blacklistbalooemailcompletionwidgettest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libkdepimakonadi/addressline/blacklistbaloocompletion/autotests/blacklistbalooemailcompletionwidgettest.cpp b/src/libkdepimakonadi/addressline/blacklistbaloocompletion/autotests/blacklistbalooemailcompletionwidgettest.cpp
index a836f7f..6c7c588 100644
--- a/src/libkdepimakonadi/addressline/blacklistbaloocompletion/autotests/blacklistbalooemailcompletionwidgettest.cpp
+++ b/src/libkdepimakonadi/addressline/blacklistbaloocompletion/autotests/blacklistbalooemailcompletionwidgettest.cpp
@@ -41,7 +41,7 @@ void BlackListBalooEmailCompletionWidgetTest::shouldHaveDefaultValue()
{
KPIM::BlackListBalooEmailCompletionWidget widget;
widget.show();
- QTest::qWaitForWindowExposed(&widget);
+ QVERIFY(QTest::qWaitForWindowExposed(&widget));
QLabel *searchLabel = widget.findChild<QLabel *>(QStringLiteral("search_label"));
QVERIFY(searchLabel);