summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorSergio Martins <sergio.martins@kdab.com>2015-02-17 21:25:01 +0000
committerPaul Lemire <paul.lemire@kdab.com>2015-02-18 07:03:19 +0000
commit13075b0888ab5c104010f7ff142fda917aa7c310 (patch)
treeb967a908fbcb4e0fa275d103040c361f17cc9823 /src/core
parentae45b629b8a40318fa3e619116b0dd84c987f6ed (diff)
Fix inconsistent override warnings [-Winconsistent-missing-override]
Classes should either use or not use override, otherwise it hurts code readability. Change-Id: Ibe3e5a5fdc5cb3fc4c61ab722005c337f5998c26 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/nodes/qnode_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/nodes/qnode_p.h b/src/core/nodes/qnode_p.h
index b0b05037b..67f999f3e 100644
--- a/src/core/nodes/qnode_p.h
+++ b/src/core/nodes/qnode_p.h
@@ -62,7 +62,7 @@ public:
void setArbiter(QLockableObserverInterface *arbiter) Q_DECL_OVERRIDE;
void notifyPropertyChange(const char *name, const QVariant &value);
- virtual void notifyObservers(const QSceneChangePtr &change);
+ void notifyObservers(const QSceneChangePtr &change) Q_DECL_OVERRIDE;
void insertTree(QNode *treeRoot, int depth = 0);