diff options
author | 2020-12-20 12:00:57 +0100 | |
---|---|---|
committer | 2021-01-10 15:57:39 -0800 | |
commit | 78196839903398434638073d26ee9b47da0a0e55 (patch) | |
tree | 89331517469a3646c867db9e1e5f0e9b5f5111ed | |
parent | ea88f4729dcc6ec6df0dc25cb54494d07774dca8 (diff) | |
download | subsurface-78196839903398434638073d26ee9b47da0a0e55.tar.gz |
profile: remove ProfileWidget2::dateTimeChanged()
This function sent a signal and the only listener was removed
in the previous commit.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.cpp | 1 | ||||
-rw-r--r-- | profile-widget/profilewidget2.cpp | 5 | ||||
-rw-r--r-- | profile-widget/profilewidget2.h | 2 |
3 files changed, 0 insertions, 8 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp index ba0d2db55..9bcc36cff 100644 --- a/desktop-widgets/tab-widgets/maintab.cpp +++ b/desktop-widgets/tab-widgets/maintab.cpp @@ -256,7 +256,6 @@ void MainTab::divesChanged(const QVector<dive *> &dives, DiveField field) updateNotes(current_dive); if (field.datetime) { updateDateTime(current_dive); - MainWindow::instance()->graphics->dateTimeChanged(); DivePlannerPointsModel::instance()->getDiveplan().when = current_dive->when; } if (field.divesite) 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(); |