summaryrefslogtreecommitdiffstats
path: root/commands/command_edit.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-03-09 16:33:25 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-17 16:54:38 -0700
commit9722f04e40a575ca757868a66cecfdcee801831c (patch)
tree09bc4097b095eebe0f57b4e7379797fa3c0ee605 /commands/command_edit.h
parent6e59ee00d8a71de38b5249e43376ca9dca1cd4fe (diff)
downloadsubsurface-9722f04e40a575ca757868a66cecfdcee801831c.tar.gz
undo: remove EditNumber command
Number editing works via the RenumberDives command. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'commands/command_edit.h')
-rw-r--r--commands/command_edit.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/commands/command_edit.h b/commands/command_edit.h
index 6a5b8230f..101c8b79b 100644
--- a/commands/command_edit.h
+++ b/commands/command_edit.h
@@ -222,15 +222,6 @@ public:
DiveField fieldId() const override;
};
-class EditNumber : public EditBase<int> {
-public:
- using EditBase<int>::EditBase; // Use constructor of base class.
- void set(struct dive *d, int number) const override;
- int data(struct dive *d) const override;
- QString fieldName() const override;
- DiveField fieldId() const override;
-};
-
// Fields that work with tag-lists (tags, buddies, divemasters) work differently and therefore
// have their own base class. In this case, it's not a template, as all these lists are base
// on strings.