summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-11-18 11:36:55 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-11-19 21:13:40 -0800
commitecb517d49678e1d2e2dfdbcca5819d81b1f288ea (patch)
tree80c9c239b7b49297998f566174a24cfbac443fab
parent78d4a4ce3643a1bfce06ac809ab951e692d11314 (diff)
downloadsubsurface-ecb517d49678e1d2e2dfdbcca5819d81b1f288ea.tar.gz
Cleanup: remove ProfileWidget2::refreshDisplay signal
It was not used anywhere. 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 cf46e6ec8..793fecad9 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -320,7 +320,6 @@ MainWindow::MainWindow() : QMainWindow(),
connect(graphics, &ProfileWidget2::enableToolbar ,this, &MainWindow::setEnabledToolbar);
connect(graphics, &ProfileWidget2::disableShortcuts, this, &MainWindow::disableShortcuts);
connect(graphics, &ProfileWidget2::enableShortcuts, this, &MainWindow::enableShortcuts);
- connect(graphics, &ProfileWidget2::refreshDisplay, this, &MainWindow::refreshDisplay);
connect(graphics, &ProfileWidget2::editCurrentDive, this, &MainWindow::editCurrentDive);
connect(graphics, &ProfileWidget2::updateDiveInfo, mainTab.get(), &MainTab::updateDiveInfo);
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h
index d2b813e35..fadfbcbc9 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 refreshDisplay(bool recreateDivelist);
void updateDiveInfo();
void editCurrentDive();
void dateTimeChangedItems();