summaryrefslogtreecommitdiffstats
path: root/qt-models/weightmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/weightmodel.h')
-rw-r--r--qt-models/weightmodel.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/qt-models/weightmodel.h b/qt-models/weightmodel.h
index 2e5a190ba..f3002a1ae 100644
--- a/qt-models/weightmodel.h
+++ b/qt-models/weightmodel.h
@@ -25,7 +25,7 @@ public:
void passInData(const QModelIndex &index, const QVariant &value);
void clear();
void updateDive(dive *d);
- weightsystem_t weightSystemAt(const QModelIndex &index);
+ weightsystem_t weightSystemAt(const QModelIndex &index) const;
bool changed;
public
@@ -36,7 +36,6 @@ slots:
private:
dive *d;
- int rows;
};
#endif