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] [favorites][favorite-1]
serviceId=konqueror serviceId=konqueror
......
...@@ -36,13 +36,18 @@ FocusScope { ...@@ -36,13 +36,18 @@ FocusScope {
// Internal // Internal
property variant models: [] property variant models: []
SalComponents.SharedConfig {
id: config
name: "salrc"
}
// Models // Models
Component { Component {
id: serviceModelComponent id: serviceModelComponent
SalComponents.SalServiceModel { SalComponents.SalServiceModel {
path: "/" path: "/"
property string name: "Applications" 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