mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: make a few DivePlannerModel functions private
It simplifies reasoning about control flow a lot if it is known that functions can't be invoked from a different part of the code base. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
98594c18d1
commit
e79ac9c7ed
2 changed files with 5 additions and 5 deletions
|
|
@ -732,7 +732,7 @@ void DivePlannerPointsModel::setStartDate(const QDate &date)
|
|||
void DivePlannerPointsModel::setStartTime(const QTime &t)
|
||||
{
|
||||
startTime.setTime(t);
|
||||
diveplan.when = dateTimeToTimestamp(startTime);
|
||||
diveplan.when = dateTimeToTimestamp(startTime);
|
||||
displayed_dive.when = diveplan.when;
|
||||
emitDataChanged();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue