Bind prefix directly and onRepaintNeeded assign it a new Qt.binding.
This lets QML re-evaluate the binding when plasmoid.location (referenced in the taskPrefix JS function) changes.
Details
Details
- Reviewers
hein - Group Reviewers
Plasma - Commits
- R119:c0f7ba8504d3: [Task Manager] Use Qt.binding for prefix
Moved panel around, task graphics updated immediately.
Changed theme, task graphics updated immediately.
Hovered items before, inbetween, and after the above, worked just fine.
Diff Detail
Diff Detail
- Repository
- R119 Plasma Desktop
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.