Skip to content

KLocalizedString::setApplicationDomain: use QByteArray type as arg

As the stored data is returned as QByteArray, it is consistent to also be able to set it as such.

This allows the consumer side to pass in a QByteArrayLiteral also, saving one deep data copy.

Source-compatible API change, due to QByteArray with implicit constructor for const char*.

Merge request reports