Skip to content

Commit

Permalink
fix build without QTWEBKIT
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec committed Jan 14, 2022
1 parent 1628765 commit 2fe7796
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/gui/testqgsexternalresourcewidgetwrapper.cpp
Expand Up @@ -1258,7 +1258,9 @@ void TestQgsExternalResourceWidgetWrapper::testChangeValueToNullBeforeLoaded()

// content still null, fetching in progress...
QVERIFY( !ww.mQgsWidget->mPixmapLabel->isVisible() );
#ifdef WITH_QTWEBKIT
QVERIFY( !ww.mQgsWidget->mWebView->isVisible() );
#endif
QVERIFY( ww.mQgsWidget->mLoadingLabel->isVisible() );
QVERIFY( ww.mQgsWidget->mLoadingMovie->state() == QMovie::Running );
QVERIFY( !ww.mQgsWidget->mErrorLabel->isVisible() );
Expand Down

0 comments on commit 2fe7796

Please sign in to comment.