diff options
-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(); |