mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Desktop, Filter UI: make date/time consistent
On all (most?) places we use separate date/time fields for the time of a dive, and we follow the setting from the preferences to format those. Make the new filter widget consistent, with respect to the to and from interval. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
5986225fce
commit
e8b0d165a7
4 changed files with 57 additions and 17 deletions
|
@ -24,8 +24,10 @@ struct FilterData {
|
|||
double maxWaterTemp = 100;
|
||||
double minAirTemp = 0;
|
||||
double maxAirTemp = 100;
|
||||
QDateTime from;
|
||||
QDateTime to = QDateTime::currentDateTime();
|
||||
QDateTime fromDate;
|
||||
QTime fromTime;
|
||||
QDateTime toDate = QDateTime::currentDateTime();
|
||||
QTime toTime = QTime::currentTime();
|
||||
QStringList tags;
|
||||
QStringList people;
|
||||
QStringList location;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue