mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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);
|
updateNotes(current_dive);
|
||||||
if (field.datetime) {
|
if (field.datetime) {
|
||||||
updateDateTime(current_dive);
|
updateDateTime(current_dive);
|
||||||
MainWindow::instance()->graphics->dateTimeChanged();
|
|
||||||
DivePlannerPointsModel::instance()->getDiveplan().when = current_dive->when;
|
DivePlannerPointsModel::instance()->getDiveplan().when = current_dive->when;
|
||||||
}
|
}
|
||||||
if (field.divesite)
|
if (field.divesite)
|
||||||
|
|
|
@ -865,11 +865,6 @@ void ProfileWidget2::plotDive(const struct dive *d, bool force, bool doClearPict
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProfileWidget2::dateTimeChanged()
|
|
||||||
{
|
|
||||||
emit dateTimeChangedItems();
|
|
||||||
}
|
|
||||||
|
|
||||||
void ProfileWidget2::actionRequestedReplot(bool)
|
void ProfileWidget2::actionRequestedReplot(bool)
|
||||||
{
|
{
|
||||||
settingsChanged();
|
settingsChanged();
|
||||||
|
|
|
@ -98,11 +98,9 @@ signals:
|
||||||
void enableShortcuts();
|
void enableShortcuts();
|
||||||
void disableShortcuts(bool paste);
|
void disableShortcuts(bool paste);
|
||||||
void editCurrentDive();
|
void editCurrentDive();
|
||||||
void dateTimeChangedItems();
|
|
||||||
|
|
||||||
public
|
public
|
||||||
slots: // Necessary to call from QAction's signals.
|
slots: // Necessary to call from QAction's signals.
|
||||||
void dateTimeChanged();
|
|
||||||
void settingsChanged();
|
void settingsChanged();
|
||||||
void actionRequestedReplot(bool triggered);
|
void actionRequestedReplot(bool triggered);
|
||||||
void setEmptyState();
|
void setEmptyState();
|
||||||
|
|
Loading…
Add table
Reference in a new issue