This revision was automatically updated to reflect the committed changes.
Closed by commit R120:26d855ea63b1: Avoid deep copy of image data when getting
pixmaps in SNIs (authored by davidedmundson).
CHANGED PRIOR TO COMMIT
https://phabricator.kde.org/D5670?vs=14032&id=14147#toc
REPOSITORY
R1
markg accepted this revision.
markg added inline comments.
This revision is now accepted and ready to land.
INLINE COMMENTS
> statusnotifieritemsource.cpp:393-399
> if (QSysInfo::ByteOrder == QSysInfo::LittleEndian) {
> uint *uintBuf = (uint *) image.data.data();
> for (uin
davidedmundson created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
We get the data as a QByteArray we can just ref the original data,
rather than doing a deep copy of the data.
Might save a few cy