From fc8c158fac1a6afde9a801c4f312276ec0adf3f1 Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Sun, 7 May 2023 06:39:32 -0400 Subject: [PATCH] Use last lts for this. --- chatlistmodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chatlistmodel.cpp b/chatlistmodel.cpp index 6916f4d9..8cb115d1 100644 --- a/chatlistmodel.cpp +++ b/chatlistmodel.cpp @@ -66,7 +66,7 @@ void ChatListModel::saveChats() const out << (quint32)CHAT_FORMAT_MAGIC; out << (qint32)CHAT_FORMAT_VERSION; - out.setVersion(QDataStream::Qt_6_5); + out.setVersion(QDataStream::Qt_6_2); qDebug() << "serializing chat" << fileName; if (!chat->serialize(out)) { @@ -145,7 +145,7 @@ void ChatsRestoreThread::run() } if (version <= 100) - in.setVersion(QDataStream::Qt_6_5); + in.setVersion(QDataStream::Qt_6_2); Chat *chat = new Chat; chat->moveToThread(qApp->thread());