From c7f5280f9f0e808854c4d13320ff74a303bd6cab Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Mon, 8 May 2023 16:50:21 -0400 Subject: [PATCH] Fix the version. --- chatlistmodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chatlistmodel.cpp b/chatlistmodel.cpp index c2e81166..152d7f6f 100644 --- a/chatlistmodel.cpp +++ b/chatlistmodel.cpp @@ -140,12 +140,12 @@ void ChatsRestoreThread::run() // Read the version qint32 version; in >> version; - if (version < 100) { + if (version < 1) { qWarning() << "ERROR: Chat file has non supported version:" << file.fileName(); continue; } - if (version <= 100) + if (version <= 1) in.setVersion(QDataStream::Qt_6_2); FileInfo info;