diff --git a/src/persistence/serialize.cpp b/src/persistence/serialize.cpp index 6e26fa74e..5cd52b63f 100644 --- a/src/persistence/serialize.cpp +++ b/src/persistence/serialize.cpp @@ -42,7 +42,7 @@ QString dataToString(QByteArray data) return QString(); // Remove the strlen - data.remove(0, i - 1); + data.remove(0, i); data.truncate(strlen); return QString(data);