summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-11-25 19:52:02 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-12 15:52:40 -0800
commit41751a5899772092dfcf6d33c4015ce27e92b007 (patch)
tree3c1335331bac51e49179d655ce7d5d81fb134c8f
parent3b2ae46eb81281b1e145fe58121b542ce30e3925 (diff)
downloadsubsurface-41751a5899772092dfcf6d33c4015ce27e92b007.tar.gz
cleanup: remove unused signal ProfileWidget2::updateDiveInfo
Last user was remove in 0bd821183d. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r--desktop-widgets/mainwindow.cpp1
-rw-r--r--profile-widget/profilewidget2.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index 6a9e378a3..933d02527 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -308,7 +308,6 @@ MainWindow::MainWindow() : QMainWindow(),
connect(graphics, &ProfileWidget2::disableShortcuts, this, &MainWindow::disableShortcuts);
connect(graphics, &ProfileWidget2::enableShortcuts, this, &MainWindow::enableShortcuts);
connect(graphics, &ProfileWidget2::editCurrentDive, this, &MainWindow::editCurrentDive);
- connect(graphics, &ProfileWidget2::updateDiveInfo, mainTab.get(), &MainTab::updateDiveInfo);
connect(&diveListNotifier, &DiveListNotifier::settingsChanged, graphics, &ProfileWidget2::settingsChanged);
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h
index 8895fe2ba..fe54da3d9 100644
--- a/profile-widget/profilewidget2.h
+++ b/profile-widget/profilewidget2.h
@@ -97,7 +97,6 @@ signals:
void enableToolbar(bool enable);
void enableShortcuts();
void disableShortcuts(bool paste);
- void updateDiveInfo();
void editCurrentDive();
void dateTimeChangedItems();