summaryrefslogtreecommitdiffstats
path: root/qt-models/divetripmodel.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-03-09 16:31:24 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-17 16:54:36 -0700
commit6e59ee00d8a71de38b5249e43376ca9dca1cd4fe (patch)
treeac48b521b90c44772a04fed7b12c26b010b4d09d /qt-models/divetripmodel.h
parent219420bd6e1648596aa4a3324d3f39bb3d791be7 (diff)
downloadsubsurface-6e59ee00d8a71de38b5249e43376ca9dca1cd4fe.tar.gz
divetripmodel: remove setData() function
The setData() function was used to edit the number of a dive. However, that doesn't appear to be functional. Therefore, remove the code. There is a context-menu entry "renumber dives" for that. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/divetripmodel.h')
-rw-r--r--qt-models/divetripmodel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-models/divetripmodel.h b/qt-models/divetripmodel.h
index 97000aa23..0eb78d6a3 100644
--- a/qt-models/divetripmodel.h
+++ b/qt-models/divetripmodel.h
@@ -70,7 +70,6 @@ public:
Qt::ItemFlags flags(const QModelIndex &index) const;
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
- bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole) override;
DiveTripModelBase(QObject *parent = 0);
int columnCount(const QModelIndex&) const;