diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-03-09 16:33:25 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-17 16:54:38 -0700 |
commit | 9722f04e40a575ca757868a66cecfdcee801831c (patch) | |
tree | 09bc4097b095eebe0f57b4e7379797fa3c0ee605 /commands/command_edit.cpp | |
parent | 6e59ee00d8a71de38b5249e43376ca9dca1cd4fe (diff) | |
download | subsurface-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.cpp')
-rw-r--r-- | commands/command_edit.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/commands/command_edit.cpp b/commands/command_edit.cpp index 32c478845..7fd56e0d2 100644 --- a/commands/command_edit.cpp +++ b/commands/command_edit.cpp @@ -574,28 +574,6 @@ DiveField EditMode::fieldId() const return DiveField::MODE; } -// ***** Number ***** -void EditNumber::set(struct dive *d, int number) const -{ - d->number = number; -} - -int EditNumber::data(struct dive *d) const -{ - return d->number; -} - -QString EditNumber::fieldName() const -{ - return tr("number"); -} - -DiveField EditNumber::fieldId() const -{ - return DiveField::NR; -} - - // ***** Tag based commands ***** EditTagsBase::EditTagsBase(const QStringList &newListIn, bool currentDiveOnly) : EditDivesBase(currentDiveOnly), |