From 13075b0888ab5c104010f7ff142fda917aa7c310 Mon Sep 17 00:00:00 2001 From: Sergio Martins Date: Tue, 17 Feb 2015 21:25:01 +0000 Subject: 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 --- src/core/nodes/qnode_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') 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); -- cgit v1.2.3