diff options
| author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-08-14 15:07:29 +0200 |
|---|---|---|
| committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-08-18 11:18:58 +0200 |
| commit | 7b6f30c13717654ec3b95e67edde88a03da45e22 (patch) | |
| tree | 02cf89fb41351dac653948f1cd0ba247dae6ec57 /src/webengine/testsupport/plugin.cpp | |
| parent | 0f4485ae3b866e04b643bd0be44ce0ac45ac81f9 (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.cpp | 2 |
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"); |
