From 554b3fe6303933f1930b6a67fea540d562d99359 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 8 Mar 2016 02:27:03 -0300 Subject: Silence warnings in diveplotdatamodel.cpp Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-models/diveplotdatamodel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt-models/diveplotdatamodel.cpp b/qt-models/diveplotdatamodel.cpp index 1110f19df..7a7ab195f 100644 --- a/qt-models/diveplotdatamodel.cpp +++ b/qt-models/diveplotdatamodel.cpp @@ -14,6 +14,7 @@ DivePlotDataModel::DivePlotDataModel(QObject *parent) : int DivePlotDataModel::columnCount(const QModelIndex &parent) const { + Q_UNUSED(parent); return COLUMNS; } @@ -96,6 +97,7 @@ const plot_info &DivePlotDataModel::data() const int DivePlotDataModel::rowCount(const QModelIndex &parent) const { + Q_UNUSED(parent); return pInfo.nr; } -- cgit v1.2.3-70-g09d2