Parse utf-8 data properly

This commit is contained in:
Konstantinos Sideris 2017-08-01 19:42:42 +03:00
parent bda856d7ae
commit 748eb949a7

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