summaryrefslogtreecommitdiff
path: root/src/designer/src/lib
diff options
context:
space:
mode:
authorAlexander Volkov <avolkov@astralinux.ru>2020-05-19 17:49:54 +0300
committerAlexander Volkov <avolkov@astralinux.ru>2020-05-20 16:50:32 +0300
commita426158b43c54c2e7e681c173829eba16eec3171 (patch)
treebfe6afe0acfe941f0b2d0d19aeca0e8d7c0a2f5a /src/designer/src/lib
parentd063abad1a64f12fbac7325c8410b393db81fbd3 (diff)
downloadqttools-a426158b43c54c2e7e681c173829eba16eec3171.tar.gz
Add missing override
Change-Id: Id2b1c4b9e7cb24b427f7e3de4b00d1472c67cb5a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/designer/src/lib')
-rw-r--r--src/designer/src/lib/shared/qdesigner_propertycommand_p.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/designer/src/lib/shared/qdesigner_propertycommand_p.h b/src/designer/src/lib/shared/qdesigner_propertycommand_p.h
index ab7662f2a..7aaa7e944 100644
--- a/src/designer/src/lib/shared/qdesigner_propertycommand_p.h
+++ b/src/designer/src/lib/shared/qdesigner_propertycommand_p.h
@@ -242,10 +242,10 @@ public:
bool init(QObject *object, const QString &propertyName);
bool init(const QObjectList &list, const QString &propertyName, QObject *referenceObject = nullptr);
- virtual void redo();
+ void redo() override;
protected:
- virtual bool mergeWith(const QUndoCommand *) { return false; }
+ bool mergeWith(const QUndoCommand *) override { return false; }
private:
void setDescription();
@@ -261,8 +261,8 @@ public:
bool init(const QVector<QObject *> &selection, QObject *current, const QString &propertyName, const QVariant &value);
- virtual void redo();
- virtual void undo();
+ void redo() override;
+ void undo() override;
private:
void setDescription();
QString m_propertyName;
@@ -278,8 +278,8 @@ public:
bool init(const QVector<QObject *> &selection, QObject *current, const QString &propertyName);
- virtual void redo();
- virtual void undo();
+ void redo() override;
+ void undo() override;
private:
void setDescription();
QString m_propertyName;