Remove base64 decode option that was added in Qt 5.15
This commit is contained in:
parent
8bcbe07c87
commit
e56f0db11b
@ -307,7 +307,7 @@ bool parseMinecraftProfileMojang(QByteArray & data, MinecraftProfile &output) {
|
|||||||
|
|
||||||
auto value = pObj.value("value");
|
auto value = pObj.value("value");
|
||||||
if (value.isString()) {
|
if (value.isString()) {
|
||||||
texturePayload = QByteArray::fromBase64(value.toString().toUtf8(), QByteArray::AbortOnBase64DecodingErrors);
|
texturePayload = QByteArray::fromBase64(value.toString().toUtf8());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!texturePayload.isEmpty()) {
|
if (!texturePayload.isEmpty()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user