]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/widgets/PrivacyWebEngineView.h
Enable English spell checking.
[PrivacyBrowserPC.git] / src / widgets / PrivacyWebEngineView.h
index 3869fc34ac2d938f6b150b3bf3be5ff76462f351..863cf5d4429ce1bc9af8b14c9acbc4deb1445c1b 100644 (file)
@@ -36,6 +36,7 @@ public:
     // The public variables.
     std::list<QNetworkCookie> *cookieListPointer = new std::list<QNetworkCookie>;
     QString domainSettingsName = QStringLiteral("");
+    int loadProgressInt = -1;
     bool localStorageEnabled = false;
 
 signals:
@@ -46,5 +47,9 @@ public Q_SLOTS:
     // The public slots.
     void addCookieToList(const QNetworkCookie &cookie) const;
     void removeCookieFromList(const QNetworkCookie &cookie) const;
+
+protected:
+    // The protected functions.
+    QWebEngineView* createWindow(QWebEnginePage::WebWindowType webWindowType) override;
 };
 #endif