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>
This commit is contained in:
Berthold Stoeger 2020-12-20 12:00:57 +01:00 committed by Dirk Hohndel
parent ea88f4729d
commit 7819683990
3 changed files with 0 additions and 8 deletions

View file

@ -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)