Skip to content
Verified Commit 38b7850c authored by Fushan Wen's avatar Fushan Wen
Browse files

wallpapers/image: adapt to null byte behavior change in Qt6

In Qt5 the terminating \0 character is not considered part of the
byte array, but this behavior was removed in Qt6, so the library needs
to handle the behavior change by itself.

See also:

- https://doc.qt.io/qt-5/qbytearray.html#QByteArray-1
- https://doc.qt.io/qt-6/qbytearray.html#QByteArray-1
- https://doc.qt.io/qt-6/qstring.html#fromUtf8-2
parent a0d70701
Pipeline #254346 passed with stage
in 13 minutes and 24 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment