Parse utf-8 data properly

This commit is contained in:
Konstantinos Sideris 2017-08-01 19:42:42 +03:00
parent bda856d7ae
commit 748eb949a7
1 changed files with 1 additions and 1 deletions

View File

@ -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());
} }