diff options
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; } |