mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
filter: add a week to maximum default date time
The filter sets the maximum date to now. This is so confusing when you manually add a dive and it isn't shown, because it is slightly in the future. Add seven days, that should help. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
89784a176e
commit
3d4698c0a1
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ struct FilterData {
|
|||
double maxAirTemp = 200;
|
||||
QDateTime fromDate = QDateTime(QDate(1980,1,1));
|
||||
QTime fromTime = QTime(0,0);
|
||||
QDateTime toDate = QDateTime::currentDateTime();
|
||||
QDateTime toDate = QDateTime::currentDateTime().addDays(7);
|
||||
QTime toTime = QTime::currentTime();
|
||||
QStringList tags;
|
||||
QStringList people;
|
||||
|
|
Loading…
Reference in a new issue