aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlmoduleplugin/pluginVersion/plugin.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-04-11 11:12:51 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-04-11 22:08:30 +0200
commit0d28805cc7790511b9414a900be57f3b2d8d63a8 (patch)
tree7024857bab292b347a48d77f1831bf37e5e23f28 /tests/auto/qml/qqmlmoduleplugin/pluginVersion/plugin.cpp
parent2181ef9d29c71273accab710a68907c5d42771db (diff)
Mark overrides in tests to silence compiler warnings
Pick-to: 6.1 Change-Id: Ieed929dcd7b550a1dc365d34b6f20f2f0e2d057f Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlmoduleplugin/pluginVersion/plugin.cpp')
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/pluginVersion/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginVersion/plugin.cpp b/tests/auto/qml/qqmlmoduleplugin/pluginVersion/plugin.cpp
index 470da6c35f..2ecd946793 100644
--- a/tests/auto/qml/qqmlmoduleplugin/pluginVersion/plugin.cpp
+++ b/tests/auto/qml/qqmlmoduleplugin/pluginVersion/plugin.cpp
@@ -50,7 +50,7 @@ public:
{
}
- void registerTypes(const char *uri)
+ void registerTypes(const char *uri) override
{
Q_ASSERT(QLatin1String(uri) == "org.qtproject.AutoTestQmlVersionPluginType");
qmlRegisterType<FloorPluginType>(uri, 1, 4, "Floor");