Skip to content

Commit

Permalink
fix clang build on travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
matlo607 authored and Matthieu Longo committed Feb 14, 2018
1 parent a60a730 commit 08049bd
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ GIVEN("^I just turned on the calculator$") {
ctx->calculator.move(0, 0);
ctx->calculator.show();
#if QT_VERSION >= 0x050000
QTest::qWaitForWindowExposed(&ctx->calculator);
bool exposed = QTest::qWaitForWindowExposed(&ctx->calculator);
#else
QTest::qWaitForWindowShown(&ctx->calculator);
bool exposed = QTest::qWaitForWindowShown(&ctx->calculator);
#endif
QTest::qWait(millisecondsToWait());
if (!exposed) {
QTest::qWait(millisecondsToWait());
}
}

WHEN("^I press (\\d+)$") {
Expand Down

0 comments on commit 08049bd

Please sign in to comment.