aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml
diff options
context:
space:
mode:
authorAlexander Volkov <avolkov@astralinux.ru>2020-05-15 16:15:13 +0300
committerAlexander Volkov <avolkov@astralinux.ru>2020-05-15 16:57:58 +0300
commit82b9494360fb4cfcf38e99d46f32f117bff5e7ef (patch)
tree458102510b5aef61e4fd585882aff0aef925e90d /src/qml/qml
parenta071befa4f96e2df51d9a98b0f3d2700d791e7a5 (diff)
Add missing override
Change-Id: I439bcd0219b53ab0fa9450523ee0efcc75db68e7 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/qml/qml')
-rw-r--r--src/qml/qml/qqmlirloader.cpp4
-rw-r--r--src/qml/qml/qqmlpropertybinding_p.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlirloader.cpp b/src/qml/qml/qqmlirloader.cpp
index f66094fad7..a0ae923bac 100644
--- a/src/qml/qml/qqmlirloader.cpp
+++ b/src/qml/qml/qqmlirloader.cpp
@@ -78,10 +78,10 @@ struct FakeExpression : public QQmlJS::AST::NullExpression
: location(start, length)
{}
- virtual QQmlJS::SourceLocation firstSourceLocation() const
+ QQmlJS::SourceLocation firstSourceLocation() const override
{ return location; }
- virtual QQmlJS::SourceLocation lastSourceLocation() const
+ QQmlJS::SourceLocation lastSourceLocation() const override
{ return location; }
private:
diff --git a/src/qml/qml/qqmlpropertybinding_p.h b/src/qml/qml/qqmlpropertybinding_p.h
index 086ab1615d..6a5bd5eeea 100644
--- a/src/qml/qml/qqmlpropertybinding_p.h
+++ b/src/qml/qml/qqmlpropertybinding_p.h
@@ -69,7 +69,7 @@ public:
QObject *obj, const QQmlRefPointer<QQmlContextData> &ctxt,
QV4::ExecutionContext *scope);
- virtual void expressionChanged();
+ void expressionChanged() override;
private:
QQmlPropertyBinding(const QMetaType &metaType);