mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: remove redundant "row" member of WeightModel
Before undoization, the WeightModel could be out-of-sync with the actual dive and therefore had a row member variable. This became redundant. Therefore, remove it. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
2cfb35b6d7
commit
92b833a7d8
2 changed files with 8 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue