From ecb517d49678e1d2e2dfdbcca5819d81b1f288ea Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 18 Nov 2019 11:36:55 +0100 Subject: [PATCH] Cleanup: remove ProfileWidget2::refreshDisplay signal It was not used anywhere. Signed-off-by: Berthold Stoeger --- desktop-widgets/mainwindow.cpp | 1 - profile-widget/profilewidget2.h | 1 - 2 files changed, 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();