diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-04-27 16:40:55 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-29 13:06:39 -0700 |
commit | 4f0fd86d3530cf921e63e8a462946a8dfccff5ae (patch) | |
tree | cf11ed9628f13448721ebd3ddd465b40dd368a31 /qt-models/tankinfomodel.h | |
parent | ef769055900fbb391de7e2dbb89f8ffb23c237b0 (diff) | |
download | subsurface-4f0fd86d3530cf921e63e8a462946a8dfccff5ae.tar.gz |
Cleanup: remove biggerString() functions
The TankInfoModel and WeightInfoModel had biggerString() functions
to determine the correct column widths for the tank- and weight-type
columns. The users were removed around 2013. Remove these functions
and the corresponding member variable.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/tankinfomodel.h')
-rw-r--r-- | qt-models/tankinfomodel.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-models/tankinfomodel.h b/qt-models/tankinfomodel.h index 7f79a466b..0317b054b 100644 --- a/qt-models/tankinfomodel.h +++ b/qt-models/tankinfomodel.h @@ -22,7 +22,6 @@ public: int rowCount(const QModelIndex &parent = QModelIndex()) const override; bool insertRows(int row, int count, const QModelIndex &parent = QModelIndex()) override; bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole) override; - const QString &biggerString() const; void clear(); public slots: @@ -30,7 +29,6 @@ slots: private: int rows; - QString biggerEntry; }; #endif |