diff options
author | Michael Schuster <michael@schuster.ms> | 2020-03-09 04:53:24 +0300 |
---|---|---|
committer | Michael Schuster <michael@schuster.ms> | 2020-03-11 03:18:11 +0300 |
commit | 102369bfbe7232dabf9a950145b855915395c2ba (patch) | |
tree | 68ff0433379c5efb2835a55bf38db1178651ca2b /src/gui/wizard | |
parent | 37f9e62993f285e1834adcea0b97697dc0f14c29 (diff) |
WebView: Add missing Q_OBJECT macros
Signed-off-by: Michael Schuster <michael@schuster.ms>
Diffstat (limited to 'src/gui/wizard')
-rw-r--r-- | src/gui/wizard/webview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/wizard/webview.cpp b/src/gui/wizard/webview.cpp index 7b0bd17ed..8c6d57c1a 100644 --- a/src/gui/wizard/webview.cpp +++ b/src/gui/wizard/webview.cpp @@ -43,6 +43,7 @@ Q_SIGNALS: }; class WebEnginePage : public QWebEnginePage { + Q_OBJECT public: WebEnginePage(QWebEngineProfile *profile, QObject* parent = nullptr); QWebEnginePage * createWindow(QWebEnginePage::WebWindowType type) override; @@ -58,6 +59,7 @@ private: // We need a separate class here, since we cannot simply return the same WebEnginePage object // this leads to a strage segfault somewhere deep inside of the QWebEngine code class ExternalWebEnginePage : public QWebEnginePage { + Q_OBJECT public: ExternalWebEnginePage(QWebEngineProfile *profile, QObject* parent = nullptr); bool acceptNavigationRequest(const QUrl &url, QWebEnginePage::NavigationType type, bool isMainFrame) override; |