From: Michael Schuster Date: Mon, 9 Mar 2020 01:53:24 +0000 (+0100) Subject: WebView: Add missing Q_OBJECT macros X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~222^2^2~320^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=102369bfbe7232dabf9a950145b855915395c2ba;p=nextcloud-desktop.git WebView: Add missing Q_OBJECT macros Signed-off-by: Michael Schuster --- 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;