Skip to content
Commit 4c0ad5ff authored by Harald Sitter's avatar Harald Sitter 🐧
Browse files

reliably lookup preferred browser from scheme mimetype first

we have a number of options here with varying degrees of legacy.

- x-scheme-handler/http mimetype is the modern way to define a browser
- text/html is a previous dated way to define a browser
- kdeglobals BrowserApplication is an incredibly dated way

whenever we looked for one of them, now look for all three and do so in
the correct order. the code was also slightly reshuffled to return as
soon as possible when a match is found to ease reading
parent db654185
Pipeline #530852 passed with stage
in 16 minutes and 10 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