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