Don't do queries on unknown values.
Don't create a KDesktopFile until we know we're going to need it
Details
Details
- Reviewers
hein - Group Reviewers
Plasma - Commits
- R120:50c391cc6c1b: taskmanager: performance
Ran plasma with debugs, didn't see any regressions.
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.
Comment Actions
Not sure if it's related, but while you're at it, would you be able to also fix these errors when hovering over a pinned item:
file:///home/nate/kde/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:347: Unable to assign [undefined] to int file:///home/nate/kde/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:375: TypeError: Type error
Comment Actions
They're not related, so shouldn't be handled in this review (see also fregl's patches).