QML needs it on the model it uses (Notifications) where they used to be but GammaRay seems to be taking them from the source (NotificationsModel).
This has both models (and jobs model) return the roleNames() and moves them to Utils so they're shared.
Details
Details
- Reviewers
davidedmundson - Group Reviewers
Plasma - Commits
- R120:07dc5c49876c: [Notifications] Report roleNames in the relevant places
- Notifications still work
- Inspecting the models with GammaRay has proper role names now.
I kinda would have expected the rolenames from notificationsmodel to bubble down to us but maybe qml asks for them before we have initialized the models
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.