mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-29 17:32:17 -07:00
Downgrade to 6.3 datastream
Took 5 minutes
This commit is contained in:
parent
3ad6dc08d9
commit
d665ceb0bd
3 changed files with 6 additions and 6 deletions
|
|
@ -28,7 +28,7 @@ QByteArray serializeProperties(const QVariantHash &props)
|
|||
{
|
||||
QByteArray blob;
|
||||
QDataStream out(&blob, QIODevice::WriteOnly);
|
||||
out.setVersion(QDataStream::Qt_6_5);
|
||||
out.setVersion(QDataStream::Qt_6_3);
|
||||
out << props;
|
||||
return blob;
|
||||
}
|
||||
|
|
@ -42,7 +42,7 @@ void CardInfo::ensurePropertiesLoaded() const
|
|||
}
|
||||
if (!propertiesBlob.isEmpty()) {
|
||||
QDataStream in(propertiesBlob);
|
||||
in.setVersion(QDataStream::Qt_6_5);
|
||||
in.setVersion(QDataStream::Qt_6_3);
|
||||
in >> propertiesCache;
|
||||
}
|
||||
propertiesLoaded = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue