mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
65ca3444f5
commit
50e42bffa1
3 changed files with 4 additions and 58 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue