Skip to content
Permalink
Browse files
fix build without QtWebkit (#45893)
  • Loading branch information
vcloarec committed Nov 5, 2021
1 parent 3d8fc9d commit c99065f6a8968e0caa524812edf9a6781fc56cce
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/src/gui/testqgsexternalresourcewidgetwrapper.cpp
@@ -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() );

0 comments on commit c99065f

Please sign in to comment.