AppData contains a QIcon with pixmap data gathered from KWindowSystem::icon which we can just use.
Only if, for some reason, the icon is really null, try getting it from KWindowSystem on demand.
Details
Details
- Reviewers
hein - Group Reviewers
Plasma - Commits
- R120:08f02266c922: Don't fetch pixmap if we have it already
Pinned my xcalc to the task bar, got the same pixmap serialized as before, without a roundtrip to the x server
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.