diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2016-03-08 02:27:03 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-08 20:58:21 -0800 |
commit | 554b3fe6303933f1930b6a67fea540d562d99359 (patch) | |
tree | 70b8c7b2673c7ba5a9b58df130272696d41d079d /qt-models | |
parent | 6c6e1ce6ff133c541d695d613134ff1404155a84 (diff) | |
download | subsurface-554b3fe6303933f1930b6a67fea540d562d99359.tar.gz |
Silence warnings in diveplotdatamodel.cpp
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/diveplotdatamodel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |