Skip to content
Verified Commit f4717e4d authored by ivan tkachenko's avatar ivan tkachenko 🗯
Browse files

FlatpakPermissionModel: Expose default enabled and value as model roles

IsDefaultEnabled is going to be used for D-Bus (and later other)
sections to make default-enabled entries not uncheckable, because that
does not make sense.

DefaultValue might come handly to implement default settings highlighter.

It does not matter much that we expose them without usage now, as long
as their names and data() are consistent with FlatpakPermission class.

(cherry picked from commit 17cf5e52)
parent b9e4a736
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