diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-20 15:14:24 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-20 15:14:24 +0200 |
commit | 88492823826b3720be4ba29d246848031418bfb5 (patch) | |
tree | 4f17cc7f4ef3f76f869a1d4fcb94722464aa9d0b /src/webengine/webview.cpp | |
parent | Hostlist test: test non-empty domain (diff) | |
download | smolbote-88492823826b3720be4ba29d246848031418bfb5.tar.xz |
Add Kconfiglib to parse Kconfig/.config
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); |