aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-03-16 11:51:42 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commitd0435672ac8b8afaac6847c67af0fb6b47a000f7 (patch)
tree89762d2deddc737c84093720c6a75c5218c859b5 /desktop-widgets/mainwindow.h
parentcd3a8ba354c67b322c07b3c29899bc1ad7d5887c (diff)
downloadsubsurface-d0435672ac8b8afaac6847c67af0fb6b47a000f7.tar.gz
Cleanup: remove unnecessary signal
The edit dive site button was connected to a *signal* of MainWindow, which was connected to a slot of MainWindow. Remove the unnecessary intermediate signal. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/mainwindow.h')
-rw-r--r--desktop-widgets/mainwindow.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h
index 4282938a6..196ceb4dc 100644
--- a/desktop-widgets/mainwindow.h
+++ b/desktop-widgets/mainwindow.h
@@ -134,7 +134,6 @@ slots:
void on_actionReplanDive_triggered();
void on_action_Check_for_Updates_triggered();
- void on_actionDiveSiteEdit_triggered();
void selectionChanged();
void initialUiSetup();
@@ -156,7 +155,6 @@ protected:
void closeEvent(QCloseEvent *);
signals:
- void startDiveSiteEdit();
void showError(QString message);
public
@@ -177,7 +175,7 @@ slots:
void disableShortcuts(bool disablePaste = true);
void enableShortcuts();
void updateVariations(QString);
-
+ void startDiveSiteEdit();
private:
Ui::MainWindow ui;