diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-04-11 11:12:51 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-04-11 22:08:30 +0200 |
commit | 0d28805cc7790511b9414a900be57f3b2d8d63a8 (patch) | |
tree | 7024857bab292b347a48d77f1831bf37e5e23f28 /tests/auto/qml/qqmlmetatype | |
parent | 2181ef9d29c71273accab710a68907c5d42771db (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/qqmlmetatype')
-rw-r--r-- | tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp b/tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp index 515f61a545..57adb79097 100644 --- a/tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp +++ b/tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp @@ -116,8 +116,8 @@ QObject *testTypeProvider(QQmlEngine *engine, QJSEngine *scriptEngine) class ParserStatusTestType : public QObject, public QQmlParserStatus { Q_OBJECT - void classBegin(){} - void componentComplete(){} + void classBegin() override {} + void componentComplete() override {} Q_CLASSINFO("DefaultProperty", "foo") // Missing default property Q_INTERFACES(QQmlParserStatus) }; |