diff options
Diffstat (limited to 'src/webengine/webview.cpp')
-rw-r--r-- | src/webengine/webview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webengine/webview.cpp b/src/webengine/webview.cpp index 59ad32a..671b32f 100644 --- a/src/webengine/webview.cpp +++ b/src/webengine/webview.cpp @@ -24,6 +24,7 @@ #include <web/webprofile.h> #include "browser.h" #include "wallet/wallet.h" +#include "config.h" inline QAction *historyAction(QWebEngineView *view, const QWebEngineHistoryItem &item) { @@ -56,7 +57,7 @@ WebView::WebView(WebProfile *profile, QWidget *parent) m_loaded = true; }); -#if defined(QTBUG_65223_WORKAROUND) +#ifdef CONFIG_QTBUG_65223 connect(this, &QWebEngineView::loadProgress, this, [this](int progress) { if(progress == 100) { emit loadFinished(true); |