diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2022-11-29 14:50:17 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2022-12-07 13:50:01 +0100 |
commit | 523a85eeaa628d916c569a45c8f799bdb59db414 (patch) | |
tree | 2c5748311023e6893bd9747fe77f44f6a828d514 /tests/auto/qml/qqmlcomponent | |
parent | ee9e3a10d967874eddc5400b2b7aa36950140b9b (diff) |
Fix two "could be override" warnings in tst_qqmlcomponent.cpp
Change-Id: I05f991d27f6895805306ed610f0936965e7854e1
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlcomponent')
-rw-r--r-- | tests/auto/qml/qqmlcomponent/tst_qqmlcomponent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qml/qqmlcomponent/tst_qqmlcomponent.cpp b/tests/auto/qml/qqmlcomponent/tst_qqmlcomponent.cpp index 41cd2dd23f..f651249679 100644 --- a/tests/auto/qml/qqmlcomponent/tst_qqmlcomponent.cpp +++ b/tests/auto/qml/qqmlcomponent/tst_qqmlcomponent.cpp @@ -1331,8 +1331,8 @@ void tst_qqmlcomponent::loadFromModule() struct CallVerifyingIncubtor : QQmlIncubator { - void setInitialState(QObject *) { setInitialStateCalled = true; } - void statusChanged(QQmlIncubator::Status status) { lastStatus = status; } + void setInitialState(QObject *) override { setInitialStateCalled = true; } + void statusChanged(QQmlIncubator::Status status) override { lastStatus = status; } QQmlIncubator::Status lastStatus = QQmlIncubator::Null; bool setInitialStateCalled = false; |