FlatpakPermissionModel: Fix removing dummy rows when inserting real ones
FlatpakPermissionModel: Fix removing dummy rows when inserting real ones
Making use of this refactor opportunity rename this method and to clean it up while also using proper model state management (beginRemoveRows).
FlatpakPermissionModel: Add section type as a predicate to find entries
This is much more robust, and nothing technically prevents entries with identical names from existing simultaneously in different sections.
Edited by ivan tkachenko