mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
Parse utf-8 data properly
This commit is contained in:
parent
bda856d7ae
commit
748eb949a7
1 changed files with 1 additions and 1 deletions
|
@ -225,5 +225,5 @@ QString Cache::nextBatchToken()
|
||||||
|
|
||||||
txn.commit();
|
txn.commit();
|
||||||
|
|
||||||
return QString::fromUtf8(token.data<const char>());
|
return QString::fromUtf8(token.data(), token.size());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue