Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QXcbXSettings: don't construct a QByteArray just to append it
... use QByteArray::append(char*,int) instead. Also cache the return value of the out-of-line function xcb_get_property_value_length(). Saves ~120b in text size, and a heap allocation. Change-Id: I4d1deafdcd3345f2b7dfbf8c45702cfee733a269 Reviewed-by: Olivier Goffart (Woboq GmbH) <[email protected]>
- Loading branch information