summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMike Krus <mike.krus@kdab.com>2015-11-08 20:40:58 +0000
committerMike Krus <mike.krus@kdab.com>2015-11-21 15:14:04 +0000
commited9628c87fac466ee6106d12996373ddf56f2c73 (patch)
treedde74248cb90362ff5e3f15a970449dbd6c720ca /tests
parent8970b041ecb17767c9277c8ff9df4a03cc3ae589 (diff)
Remove aspect enums
Change-Id: I5cd1c2ddb54d32a7d650e2a44f48d9f67f9821a2 Task-Id: QTBUG-49001 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/core/qaspectfactory/tst_qaspectfactory.cpp2
-rw-r--r--tests/auto/core/qchangearbiter/tst_qchangearbiter.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/core/qaspectfactory/tst_qaspectfactory.cpp b/tests/auto/core/qaspectfactory/tst_qaspectfactory.cpp
index 6da0489e3..4a1016bc2 100644
--- a/tests/auto/core/qaspectfactory/tst_qaspectfactory.cpp
+++ b/tests/auto/core/qaspectfactory/tst_qaspectfactory.cpp
@@ -46,7 +46,7 @@ class ClassName : public QAbstractAspect \
Q_OBJECT \
public: \
explicit ClassName(QObject *parent = 0) \
- : QAbstractAspect(QAbstractAspect::AspectOther, parent) {} \
+ : QAbstractAspect(parent) {} \
\
private: \
void setRootEntity(QEntity *) Q_DECL_OVERRIDE {} \
diff --git a/tests/auto/core/qchangearbiter/tst_qchangearbiter.cpp b/tests/auto/core/qchangearbiter/tst_qchangearbiter.cpp
index 0382ecae6..b3ea9f251 100644
--- a/tests/auto/core/qchangearbiter/tst_qchangearbiter.cpp
+++ b/tests/auto/core/qchangearbiter/tst_qchangearbiter.cpp
@@ -132,7 +132,7 @@ public:
// QNode interface
protected:
- Qt3DCore::QNode *doClone() const
+ Qt3DCore::QNode *doClone() const Q_DECL_OVERRIDE
{
tst_Node *clone = new tst_Node();
clone->copy(this);