mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-18 03:25:46 +00:00
Use last lts for this.
This commit is contained in:
parent
ab13148430
commit
86da175e1c
@ -66,7 +66,7 @@ void ChatListModel::saveChats() const
|
|||||||
|
|
||||||
out << (quint32)CHAT_FORMAT_MAGIC;
|
out << (quint32)CHAT_FORMAT_MAGIC;
|
||||||
out << (qint32)CHAT_FORMAT_VERSION;
|
out << (qint32)CHAT_FORMAT_VERSION;
|
||||||
out.setVersion(QDataStream::Qt_6_5);
|
out.setVersion(QDataStream::Qt_6_2);
|
||||||
|
|
||||||
qDebug() << "serializing chat" << fileName;
|
qDebug() << "serializing chat" << fileName;
|
||||||
if (!chat->serialize(out)) {
|
if (!chat->serialize(out)) {
|
||||||
@ -145,7 +145,7 @@ void ChatsRestoreThread::run()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (version <= 100)
|
if (version <= 100)
|
||||||
in.setVersion(QDataStream::Qt_6_5);
|
in.setVersion(QDataStream::Qt_6_2);
|
||||||
|
|
||||||
Chat *chat = new Chat;
|
Chat *chat = new Chat;
|
||||||
chat->moveToThread(qApp->thread());
|
chat->moveToThread(qApp->thread());
|
||||||
|
Loading…
Reference in New Issue
Block a user