Commit f9e0d033 authored by Volker Krause's avatar Volker Krause

Default to now for journey queries

parent d7d0495a
......@@ -63,6 +63,9 @@ Location JourneyRequest::to() const
QDateTime JourneyRequest::dateTime() const
{
if (!d->dateTime.isValid()) {
d->dateTime = QDateTime::currentDateTime();
}
return d->dateTime;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment