summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2018-09-14 19:05:23 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-14 13:18:42 -0700
commitd16bcd8978115768a3d9ff0fa081a2f2a018255b (patch)
tree426098b79ff4b679eab96e9ec471a881ea6d28d6 /desktop-widgets
parent6173ef2eb2030735a6614c188e90e8cdbbb9b486 (diff)
downloadsubsurface-d16bcd8978115768a3d9ff0fa081a2f2a018255b.tar.gz
Desktop: remove "edit dive" from log menu
Nowadays, we edit dives just by starting to enter data for the dive. There is no need to explicitly ask to start editing the dive, using the now removed menu option. This was a left-over of a long past history. This is fallout from PR #1673. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/mainwindow.cpp5
-rw-r--r--desktop-widgets/mainwindow.h1
-rw-r--r--desktop-widgets/mainwindow.ui6
3 files changed, 0 insertions, 12 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index d11d3c762..f6d877237 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -1067,11 +1067,6 @@ void MainWindow::on_actionAddDive_triggered()
information()->updateDepthDuration();
}
-void MainWindow::on_actionEditDive_triggered()
-{
- editCurrentDive();
-}
-
void MainWindow::on_actionRenumber_triggered()
{
RenumberDialog::instance()->renumberOnlySelected(false);
diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h
index 6338c5e5b..c047a31e3 100644
--- a/desktop-widgets/mainwindow.h
+++ b/desktop-widgets/mainwindow.h
@@ -112,7 +112,6 @@ slots:
void on_actionDivelogs_de_triggered();
void on_actionEditDeviceNames_triggered();
void on_actionAddDive_triggered();
- void on_actionEditDive_triggered();
void on_actionRenumber_triggered();
void on_actionAutoGroup_triggered();
void on_actionYearlyStatistics_triggered();
diff --git a/desktop-widgets/mainwindow.ui b/desktop-widgets/mainwindow.ui
index 5c7e20fad..1263b4093 100644
--- a/desktop-widgets/mainwindow.ui
+++ b/desktop-widgets/mainwindow.ui
@@ -82,7 +82,6 @@
<string>&amp;Log</string>
</property>
<addaction name="actionAddDive"/>
- <addaction name="actionEditDive"/>
<addaction name="actionDivePlanner"/>
<addaction name="actionReplanDive"/>
<addaction name="copy"/>
@@ -252,11 +251,6 @@
<string notr="true">Ctrl++</string>
</property>
</action>
- <action name="actionEditDive">
- <property name="text">
- <string>&amp;Edit dive</string>
- </property>
- </action>
<action name="copy">
<property name="text">
<string>&amp;Copy dive components</string>