summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/webview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 4f46a27..73d2b25 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -37,6 +37,8 @@ WebView::WebView(QWidget* parent)
_timerReset->setSingleShot(true);
connect(page(), SIGNAL(windowCloseRequested()), this, SLOT(windowCloseRequested()));
page()->setForwardUnsupportedContent(true);
+ page()->settings()->setAttribute(QWebSettings::LocalStorageEnabled, true);
+ //page()->settings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, true);
connect(page(), SIGNAL(unsupportedContent(QNetworkReply*)),this,SLOT(unsupportedContent(QNetworkReply*)));
connect(page(), SIGNAL(downloadRequested(QNetworkRequest)),this,SLOT(downloadRequest(QNetworkRequest)));
connect(_timerAbortMessage, &QTimer::timeout, this, &WebView::downloadDeniedMessage);