From 8378d3dd4b333a7746be8d8b15c0c4612e924e7d Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 9 Mar 2016 15:16:11 -0300 Subject: [PATCH] Silence warnings in divecomputermodel.cpp Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-models/divecomputermodel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/qt-models/divecomputermodel.cpp b/qt-models/divecomputermodel.cpp index 7b87d872d..58641ff77 100644 --- a/qt-models/divecomputermodel.cpp +++ b/qt-models/divecomputermodel.cpp @@ -47,6 +47,7 @@ QVariant DiveComputerModel::data(const QModelIndex &index, int role) const int DiveComputerModel::rowCount(const QModelIndex &parent) const { + Q_UNUSED(parent); return numRows; }