summary refs log tree commit diff
path: root/src/Cache.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-08-01 19:42:42 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-08-01 19:42:42 +0300
commit748eb949a7b35e8da8b029cb65e46ef973f598c3 (patch)
treea1349222924f53d19f32d96afd219b9bb170b29a /src/Cache.cc
parentUpdate readme and travis for lmdb (diff)
downloadnheko-748eb949a7b35e8da8b029cb65e46ef973f598c3.tar.xz
Parse utf-8 data properly
Diffstat (limited to 'src/Cache.cc')
-rw-r--r--src/Cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cache.cc b/src/Cache.cc

index c9f3fa5f..0a6ab3fc 100644 --- a/src/Cache.cc +++ b/src/Cache.cc
@@ -225,5 +225,5 @@ QString Cache::nextBatchToken() txn.commit(); - return QString::fromUtf8(token.data<const char>()); + return QString::fromUtf8(token.data(), token.size()); }