diff options
author | Mike Krus <mike.krus@kdab.com> | 2016-05-01 19:28:19 +0100 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-05-02 21:36:49 +0000 |
commit | 4a02cbc106cc447aa0bc72828690c01aa2406927 (patch) | |
tree | e4da57d287215c6e2d7adb3d8515f6f41d189ad9 /tests/auto/quick3d | |
parent | 0a4c91e544608cd2e55c1a4f7834e832648f6674 (diff) |
Fix CLANG reported warnings
Ignored 3rd party libraries
Change-Id: I20e1feac64a8fbfafc736b24d6d8c591192e817b
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tests/auto/quick3d')
-rw-r--r-- | tests/auto/quick3d/quick3dnodeinstantiator/stringmodel.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/quick3d/quick3dnodeinstantiator/stringmodel.h b/tests/auto/quick3d/quick3dnodeinstantiator/stringmodel.h index 2ddeb617d..ab0240419 100644 --- a/tests/auto/quick3d/quick3dnodeinstantiator/stringmodel.h +++ b/tests/auto/quick3d/quick3dnodeinstantiator/stringmodel.h @@ -61,7 +61,7 @@ public: endInsertRows(); } - int rowCount(const QModelIndex &) const + int rowCount(const QModelIndex &) const Q_DECL_OVERRIDE { return items.count(); } @@ -71,7 +71,7 @@ public: return roles; } - virtual int columnCount(const QModelIndex &) const + virtual int columnCount(const QModelIndex &) const Q_DECL_OVERRIDE { return 1; } @@ -81,7 +81,7 @@ public: return rowCount(QModelIndex()) > 0; } - virtual QModelIndex index(int row, int column, const QModelIndex &parent) const + virtual QModelIndex index(int row, int column, const QModelIndex &parent) const Q_DECL_OVERRIDE { Q_UNUSED(column); if (row>=0 && row<rowCount(parent)) @@ -90,12 +90,12 @@ public: return QModelIndex(); } - virtual QModelIndex parent(const QModelIndex &) const + virtual QModelIndex parent(const QModelIndex &) const Q_DECL_OVERRIDE { return QModelIndex(); } - QVariant data (const QModelIndex & index, int role) const + QVariant data (const QModelIndex & index, int role) const Q_DECL_OVERRIDE { int row = index.row(); if ((row<0) || (row>=items.count())) |