Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Itinerary
Commits
e957e2aa
Commit
e957e2aa
authored
Nov 03, 2021
by
Volker Krause
Browse files
Improve journey auto-selection for transfers before departures
parent
c11a79a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/transfermanager.cpp
View file @
e957e2aa
...
...
@@ -617,8 +617,7 @@ static KPublicTransport::Journey pickJourney(const Transfer &t, const std::vecto
if
(
journeys
.
empty
())
{
return
{};
}
Q_UNUSED
(
t
)
return
journeys
[
0
];
// TODO
return
t
.
alignment
()
==
Transfer
::
Before
?
journeys
.
back
()
:
journeys
.
front
();
}
void
TransferManager
::
autoFillTransfer
(
Transfer
&
t
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment