Saves a connection and also only schedule if we actually have a window
Details
Details
- Reviewers
davidedmundson - Group Reviewers
Plasma - Commits
- R242:f8e3a16040a7: [IconItem] Use ItemSceneHasChanged rather than connect on windowChanged
schedulePixmapUpdate is now called 100 times on plasma startup for me instead of 120. Icons still looking fine. I'm not sure what the implications of calling polish, are especially without a window, but it's a slight optimization anyways as we make use of itemChange already
Diff Detail
Diff Detail
- Repository
- R242 Plasma Framework (Library)
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
The render loop is responsible for calling polish, I don't think it will without a window.
I can't this really making a difference. ..but nor any harm.