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
Libraries
KPublicTransport
Commits
087e08d0
Commit
087e08d0
authored
Aug 07, 2021
by
Volker Krause
Browse files
Also show path details for transfer sections
parent
1c657241
Pipeline
#73769
passed with stage
in 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/journeyquery.qml
View file @
087e08d0
...
...
@@ -325,7 +325,7 @@ Kirigami.ApplicationWindow {
onClicked
:
{
if
(
modelData
.
mode
==
JourneySection
.
PublicTransport
)
{
applicationWindow
().
pageStack
.
push
(
journeySectionPage
,
{
"
journeySection
"
:
modelData
});
}
else
if
((
modelData
.
mode
==
JourneySection
.
Walking
||
modelData
.
mode
==
JourneySection
.
Waiting
)
&&
modelData
.
path
.
sectionCount
>
1
)
{
}
else
if
((
modelData
.
mode
==
JourneySection
.
Walking
||
modelData
.
mode
==
JourneySection
.
Waiting
||
modelData
.
mode
==
JourneySection
.
Transfer
)
&&
modelData
.
path
.
sectionCount
>
1
)
{
applicationWindow
().
pageStack
.
push
(
pathPage
,
{
"
path
"
:
modelData
.
path
});
}
}
...
...
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