diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2014-01-14 12:31:39 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-15 10:45:05 +0100 |
commit | c70b046648522c8a899fc1fa6e4d4a5924206313 (patch) | |
tree | d6f3b0a9f144268f4667d70f74312f29a9110f85 /examples/quick/models/abstractitemmodel | |
parent | 14ebfef611d5703e3a2d74cfb5a42f93e66644a6 (diff) |
Fix some compiler warnings in tests and examples.
Change-Id: Ia739c995005635caf6fd0bd4e495ed8567350e83
Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
Diffstat (limited to 'examples/quick/models/abstractitemmodel')
-rw-r--r-- | examples/quick/models/abstractitemmodel/model.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/quick/models/abstractitemmodel/model.cpp b/examples/quick/models/abstractitemmodel/model.cpp index 724e2ed779..30eff6a7c0 100644 --- a/examples/quick/models/abstractitemmodel/model.cpp +++ b/examples/quick/models/abstractitemmodel/model.cpp @@ -67,6 +67,7 @@ void AnimalModel::addAnimal(const Animal &animal) } int AnimalModel::rowCount(const QModelIndex & parent) const { + Q_UNUSED(parent); return m_animals.count(); } |