mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Fix the version.
This commit is contained in:
parent
a549871220
commit
ccbd16cf18
@ -140,12 +140,12 @@ void ChatsRestoreThread::run()
|
|||||||
// Read the version
|
// Read the version
|
||||||
qint32 version;
|
qint32 version;
|
||||||
in >> version;
|
in >> version;
|
||||||
if (version < 100) {
|
if (version < 1) {
|
||||||
qWarning() << "ERROR: Chat file has non supported version:" << file.fileName();
|
qWarning() << "ERROR: Chat file has non supported version:" << file.fileName();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (version <= 100)
|
if (version <= 1)
|
||||||
in.setVersion(QDataStream::Qt_6_2);
|
in.setVersion(QDataStream::Qt_6_2);
|
||||||
|
|
||||||
FileInfo info;
|
FileInfo info;
|
||||||
|
Loading…
Reference in New Issue
Block a user