summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/xdg-settings.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/xdg-settings.in b/scripts/xdg-settings.in
index ed3554c..59e97cb 100755
--- a/scripts/xdg-settings.in
+++ b/scripts/xdg-settings.in
@@ -205,10 +205,11 @@ resolve_kde_browser_desktop()
read_kde_browser()
{
- ret=`read_kde_config kdeglobals General BrowserApplication`
+ # since Plasma >= 5.19
+ ret=`get_browser_mime "x-scheme-handler/http"`
if [ -z "$ret" ]; then
- # since Plasma >= 5.19
- ret=`get_browser_mime "x-scheme-handler/http"`
+ # older Plasma versions
+ ret=`read_kde_config kdeglobals General BrowserApplication`
fi
echo $ret