aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/models
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/models')
-rw-r--r--examples/quick/models/abstractitemmodel/model.cpp1
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();
}