Commit c4ebd9b5 authored by David Faure's avatar David Faure

Save settings into ~/.config rather than deprecated ~/.local/share/apps/

BUG: 354179
parent 034b5c39
......@@ -365,7 +365,7 @@ void MimeTypeData::syncServices()
if (!m_bFullInit)
return;
KSharedConfig::Ptr profile = KSharedConfig::openConfig("mimeapps.list", KConfig::NoGlobals, QStandardPaths::ApplicationsLocation);
KSharedConfig::Ptr profile = KSharedConfig::openConfig("mimeapps.list", KConfig::NoGlobals, QStandardPaths::GenericConfigLocation);
if (!profile->isConfigWritable(true)) // warn user if mimeapps.list is root-owned (#155126/#94504)
return;
......
Markdown is supported
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