From 78196839903398434638073d26ee9b47da0a0e55 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 20 Dec 2020 12:00:57 +0100 Subject: profile: remove ProfileWidget2::dateTimeChanged() This function sent a signal and the only listener was removed in the previous commit. Signed-off-by: Berthold Stoeger --- profile-widget/profilewidget2.cpp | 5 ----- profile-widget/profilewidget2.h | 2 -- 2 files changed, 7 deletions(-) (limited to 'profile-widget') diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index ecb26fc4b..5e4924169 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -865,11 +865,6 @@ void ProfileWidget2::plotDive(const struct dive *d, bool force, bool doClearPict #endif } -void ProfileWidget2::dateTimeChanged() -{ - emit dateTimeChangedItems(); -} - void ProfileWidget2::actionRequestedReplot(bool) { settingsChanged(); diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h index 4c6d66898..f077eb9e4 100644 --- a/profile-widget/profilewidget2.h +++ b/profile-widget/profilewidget2.h @@ -98,11 +98,9 @@ signals: void enableShortcuts(); void disableShortcuts(bool paste); void editCurrentDive(); - void dateTimeChangedItems(); public slots: // Necessary to call from QAction's signals. - void dateTimeChanged(); void settingsChanged(); void actionRequestedReplot(bool triggered); void setEmptyState(); -- cgit v1.2.3-70-g09d2