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 cycles when we have an SNI animating.
markg |
Plasma |
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 cycles when we have an SNI animating.
Ran an app that I know uses xembedsniproxy which always sends data as an image
Still had an icon in the system tray as before
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
dataengines/statusnotifieritem/statusnotifieritemsource.cpp | ||
---|---|---|
393–399 | Unrelated to your commit, i know. Is there a reason why this is done at runtime? #if Q_BYTE_ORDER == Q_LITTLE_ENDIAN // convert.. with qFromLittleEndian for instance #endif Just curious. | |
409 | Very smart! I didn't even know that was possible. |