mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +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();
|
||||
|
||||
return QString::fromUtf8(token.data<const char>());
|
||||
return QString::fromUtf8(token.data(), token.size());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue