Fix build without QT_IMPLICIT_QCHAR_CONSTRUCTION

This commit is contained in:
K900
2024-10-10 21:15:57 +03:00
committed by John Preston
parent 394ef13955
commit 566f279137
12 changed files with 26 additions and 26 deletions

View File

@@ -243,7 +243,7 @@ QString ToFilePart(FileKey val) {
result.reserve(0x10);
for (int32 i = 0; i < 0x10; ++i) {
uchar v = (val & 0x0F);
result.push_back((v < 0x0A) ? ('0' + v) : ('A' + (v - 0x0A)));
result.push_back((v < 0x0A) ? QChar('0' + v) : QChar('A' + (v - 0x0A)));
val >>= 4;
}
return result;