Skip to content
Commit 1c6b5e2a authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

kcm/keys: Support adding arbitrary applications

KOpenWithDialog actually has a feature where it will create a desktop
file if we specify an application that doesn't have one. With that
enabled, you can add any application to the list of applications to
launch.

Unfortunately, in that case, we get an absolute path to the desktop file
instead of just the filename. So we need to check if that is the case
and if so, only use the filename, since the rest of the code assumes
we're dealing with filenames instead of full paths.
parent d258a3a6
Pipeline #147756 passed with stage
in 2 minutes and 39 seconds
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