diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-10-09 09:07:04 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-09 21:00:44 -0700 |
commit | 50e42bffa16728f1b663e37a76db6293cc00b122 (patch) | |
tree | e9774bce51aaa8e2e083b7995fdd35483ba566ea /qt-models/divelocationmodel.h | |
parent | 65ca3444f5429c5189e53c3a83d799e7b37b38aa (diff) | |
download | subsurface-50e42bffa16728f1b663e37a76db6293cc00b122.tar.gz |
Dive sites: don't add dummy entries to LocationInformationModel
The LocationInformationModel added two dummy sites to the front
of the list (add new dive site). This was never used - desktop
uses its own model, mobile only extracts the list of dive site
names with a custom function. Remove this functionality.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/divelocationmodel.h')
-rw-r--r-- | qt-models/divelocationmodel.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-models/divelocationmodel.h b/qt-models/divelocationmodel.h index 2abd894ea..debbdf871 100644 --- a/qt-models/divelocationmodel.h +++ b/qt-models/divelocationmodel.h @@ -25,7 +25,6 @@ public: int rowCount(const QModelIndex &parent = QModelIndex()) const; QVariant data(const QModelIndex &index = QModelIndex(), int role = Qt::DisplayRole) const; bool removeRows(int row, int count, const QModelIndex & parent = QModelIndex()); - void setFirstRowTextField(QLineEdit *textField); public slots: void update(); @@ -33,7 +32,6 @@ public slots: private: int internalRowCount; QStringList locationNames; - QLineEdit *textField; }; class GeoReferencingOptionsModel : public QStringListModel { |