mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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:
parent
ea88f4729d
commit
7819683990
3 changed files with 0 additions and 8 deletions
|
@ -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)
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue