diff options
Diffstat (limited to 'commands/command.cpp')
-rw-r--r-- | commands/command.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/commands/command.cpp b/commands/command.cpp index 4125d994b..ff53db16c 100644 --- a/commands/command.cpp +++ b/commands/command.cpp @@ -381,14 +381,9 @@ void addPictures(const std::vector<PictureListForAddition> &pictures) execute(new AddPictures(pictures)); } -void removeDevice(int idx) +void editDeviceNickname(struct divecomputer *dc, const QString &nickname) { - execute(new RemoveDevice(idx)); -} - -void editDeviceNickname(int idx, const QString &nickname) -{ - execute(new EditDeviceNickname(idx, nickname)); + execute(new EditDeviceNickname(dc, nickname)); } void createFilterPreset(const QString &name, const FilterData &data) |