From 65ca3444f5429c5189e53c3a83d799e7b37b38aa Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Tue, 9 Oct 2018 08:59:18 +0200 Subject: Dive sites: remove LocationInformationModel::setData() function Editing of dive sites does not work via this model and the function was broken anyway (it didn't subtract 2 from the index). Signed-off-by: Berthold Stoeger --- qt-models/divelocationmodel.h | 1 - 1 file changed, 1 deletion(-) (limited to 'qt-models/divelocationmodel.h') diff --git a/qt-models/divelocationmodel.h b/qt-models/divelocationmodel.h index 404b66f48..2abd894ea 100644 --- a/qt-models/divelocationmodel.h +++ b/qt-models/divelocationmodel.h @@ -24,7 +24,6 @@ public: int columnCount(const QModelIndex &parent) const; int rowCount(const QModelIndex &parent = QModelIndex()) const; QVariant data(const QModelIndex &index = QModelIndex(), int role = Qt::DisplayRole) const; - bool setData(const QModelIndex &index, const QVariant &value, int role); bool removeRows(int row, int count, const QModelIndex & parent = QModelIndex()); void setFirstRowTextField(QLineEdit *textField); -- cgit v1.2.3-70-g09d2