summaryrefslogtreecommitdiffstats
path: root/src/webengine/testsupport/plugin.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-08-14 15:07:29 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-08-18 11:18:58 +0200
commit7b6f30c13717654ec3b95e67edde88a03da45e22 (patch)
tree02cf89fb41351dac653948f1cd0ba247dae6ec57 /src/webengine/testsupport/plugin.cpp
parent0f4485ae3b866e04b643bd0be44ce0ac45ac81f9 (diff)
Fix suggest-override warnings
Also violates modern Qt code style Change-Id: Ibb12b6db18bbd2669377abe1d25034ed69a86389 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'src/webengine/testsupport/plugin.cpp')
-rw-r--r--src/webengine/testsupport/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webengine/testsupport/plugin.cpp b/src/webengine/testsupport/plugin.cpp
index 7a1e73d8b..828110207 100644
--- a/src/webengine/testsupport/plugin.cpp
+++ b/src/webengine/testsupport/plugin.cpp
@@ -48,7 +48,7 @@ class QtWebEngineTestSupportPlugin : public QQmlExtensionPlugin
Q_OBJECT
Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)
public:
- virtual void registerTypes(const char *uri)
+ void registerTypes(const char *uri) override
{
qWarning("\nWARNING: This project is using the testsupport QML API extensions for QtWebEngine and is therefore tied to a specific QtWebEngine release.\n"
"WARNING: The testsupport API will change from version to version, or even be removed. You have been warned!\n");