Commit eea129c6 authored by Aurélien Gâteau's avatar Aurélien Gâteau
Browse files

Use SharedConfig to pick the categoryInstaller

parent 095a7a23
[PackageManagement]
categoryInstaller=muon-discover-category
[favorites][favorite-1]
serviceId=konqueror
......
......@@ -36,13 +36,18 @@ FocusScope {
// Internal
property variant models: []
SalComponents.SharedConfig {
id: config
name: "salrc"
}
// Models
Component {
id: serviceModelComponent
SalComponents.SalServiceModel {
path: "/"
property string name: "Applications"
installer: "muon-discover-category"
installer: config.readEntry("PackageManagement", "categoryInstaller")
}
}
......
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