diff options
author | Malte S. Stretz <mss@msquadrat.de> | 2021-11-22 09:06:10 +0100 |
---|---|---|
committer | Malte S. Stretz <mss@msquadrat.de> | 2021-11-22 09:07:44 +0100 |
commit | ae3489b9be6581833a5815d624c2fb303737e704 (patch) | |
tree | 1fc582e33a1d6ad27e3825f649f3aa5ede5ebcea | |
parent | bcde153760ee885d2c633994e78ac447f8ec0713 (diff) | |
download | libproxy-git-ae3489b9be6581833a5815d624c2fb303737e704.tar.gz |
config_kde: Use kf5-config instead of qtpaths
qtpaths is a developer tool which is not guaranteed to exist on all KDE
installations (notably KDE neon). If it doesn't exist, the cache isn't
used at all.
The equivalent to kde4-config is kf5-config, let's use that.
-rw-r--r-- | libproxy/modules/config_kde.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libproxy/modules/config_kde.cpp b/libproxy/modules/config_kde.cpp index b5954a9..3068a59 100644 --- a/libproxy/modules/config_kde.cpp +++ b/libproxy/modules/config_kde.cpp @@ -46,7 +46,7 @@ public: command_output("kreadconfig5 --key nonexistant"); try { - parse_dir_list(command_output("qtpaths --paths GenericConfigLocation")); + parse_dir_list(command_output("kf5-config --path config")); } catch(...) {} |