We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 962d29e commit f4a2b68Copy full SHA for f4a2b68
1 file changed
src/core/contestant.cpp
@@ -239,6 +239,7 @@ void Contestant::readFromStream(QDataStream &in) {
239
// memoryUsed 之前存储为 int 三维数组,现在改为了 qint64,因此先读取旧结构,再逐层转换
240
QList<QList<QList<int>>> oldMemoryUsed;
241
in >> oldMemoryUsed;
242
+ memoryUsed.clear();
243
for (const auto &l1 : oldMemoryUsed) {
244
QList<QList<qint64>> newL1;
245
for (const auto &l2 : l1) {
0 commit comments