Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit c45e2170 authored by Albert Astals Cid's avatar Albert Astals Cid

Add QVERIFY to QTest::qWaitForWindowExposed

removes compiling warning
parent 3c4f16ea
......@@ -518,7 +518,7 @@ void MainShellTest::testSessionRestore()
int numDocs = 0;
foreach( Shell* shell, shells )
{
QTest::qWaitForWindowExposed( shell );
QVERIFY( QTest::qWaitForWindowExposed( shell ) );
numDocs += shell->m_tabs.size();
}
......@@ -574,7 +574,7 @@ void MainShellTest::testSessionRestore()
numDocs = 0;
foreach( Shell* shell, shells )
{
QTest::qWaitForWindowExposed( shell );
QVERIFY( QTest::qWaitForWindowExposed( shell ) );
numDocs += shell->m_tabs.size();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment