From c70b046648522c8a899fc1fa6e4d4a5924206313 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Tue, 14 Jan 2014 12:31:39 +0100 Subject: Fix some compiler warnings in tests and examples. Change-Id: Ia739c995005635caf6fd0bd4e495ed8567350e83 Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com> --- examples/quick/models/abstractitemmodel/model.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/quick/models') 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(); } -- cgit v1.2.3