summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMichael Bruning <michael.bruning@theqtcompany.com>2015-10-28 11:21:16 +0100
committerMichael BrĂ¼ning <michael.bruning@theqtcompany.com>2015-10-28 10:39:46 +0000
commit4641d0d1c903208fd769251f2aa2f829f0eecd38 (patch)
tree65ccadcf4bd842366d342d22aadd124c1aae2531 /examples
parent8af33b19f8f24f49a0ca8ef5c8097757103e5253 (diff)
Demobrowser: fix compiler warnings due to missing Q_DECL_OVERRIDE.
Change-Id: I7dbfeeb1a5ef91575d650bc10c7faf6ccb6b6c54 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/webenginewidgets/demobrowser/webview.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/webenginewidgets/demobrowser/webview.h b/examples/webenginewidgets/demobrowser/webview.h
index cb78fdd8a..a798a15ed 100644
--- a/examples/webenginewidgets/demobrowser/webview.h
+++ b/examples/webenginewidgets/demobrowser/webview.h
@@ -65,8 +65,8 @@ public:
BrowserMainWindow *mainWindow();
protected:
- bool acceptNavigationRequest(const QUrl &url, NavigationType type, bool isMainFrame);
- QWebEnginePage *createWindow(QWebEnginePage::WebWindowType type);
+ bool acceptNavigationRequest(const QUrl &url, NavigationType type, bool isMainFrame) Q_DECL_OVERRIDE;
+ QWebEnginePage *createWindow(QWebEnginePage::WebWindowType type) Q_DECL_OVERRIDE;
#if !defined(QT_NO_UITOOLS)
QObject *createPlugin(const QString &classId, const QUrl &url, const QStringList &paramNames, const QStringList &paramValues);
#endif