Skip to content
Commit 98bffe88 authored by Harald Sitter's avatar Harald Sitter 🍌
Browse files

do not access service past its prime

service is only set when we actually resolved from a service, but
sometimes we resolve from path. refactor service resolution into a
helper function and scope it to the fallback if such that the rest of
the determine function no longer has access to the potentially null
service pointer.

also add a nasty bool switch to the private function so we can
synthesize the condition even when konsole is installed (i.e. the
majority of dev systems ;))

BUG: 446539
parent b7611e91
Loading
Loading
Loading
Pipeline #111526 passed with stage
in 10 minutes and 3 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment