diff options
Diffstat (limited to 'examples/webenginewidgets/markdowneditor/previewpage.h')
-rw-r--r-- | examples/webenginewidgets/markdowneditor/previewpage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/webenginewidgets/markdowneditor/previewpage.h b/examples/webenginewidgets/markdowneditor/previewpage.h index eb7d7ab00..2e7cfaeab 100644 --- a/examples/webenginewidgets/markdowneditor/previewpage.h +++ b/examples/webenginewidgets/markdowneditor/previewpage.h @@ -57,10 +57,10 @@ class PreviewPage : public QWebEnginePage { Q_OBJECT public: - explicit PreviewPage(QObject *parent = nullptr) : QWebEnginePage(parent) {} + using QWebEnginePage::QWebEnginePage; protected: - bool acceptNavigationRequest(const QUrl &url, NavigationType type, bool isMainFrame); + bool acceptNavigationRequest(const QUrl &url, NavigationType type, bool isMainFrame) override; }; #endif // PREVIEWPAGE_H |