aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-08 02:27:26 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-08 20:58:21 -0800
commitbba62fec8274594dbecc46a1fa2dd7dd2dcfea0c (patch)
tree51843c5f005b7669a87f660cd751b6b22eadba40 /qt-models
parent554b3fe6303933f1930b6a67fea540d562d99359 (diff)
downloadsubsurface-bba62fec8274594dbecc46a1fa2dd7dd2dcfea0c.tar.gz
Silence warnings in GpsListModel
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/gpslistmodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/gpslistmodel.cpp b/qt-models/gpslistmodel.cpp
index 84f5e7f3a..3ea03f040 100644
--- a/qt-models/gpslistmodel.cpp
+++ b/qt-models/gpslistmodel.cpp
@@ -35,6 +35,7 @@ void GpsListModel::clear()
int GpsListModel::rowCount(const QModelIndex &parent) const
{
+ Q_UNUSED(parent);
return m_gpsFixes.count();
}