mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-22 13:15:39 +08:00
@@ -297,7 +297,10 @@ namespace BlackMisc
|
|||||||
}
|
}
|
||||||
CVariantMap temp;
|
CVariantMap temp;
|
||||||
temp.convertFromJson(json.object());
|
temp.convertFromJson(json.object());
|
||||||
|
if (! keys.isEmpty())
|
||||||
|
{
|
||||||
temp.removeByKeyIf([&keys](const QString & key) { return ! keys.contains(key); }); // TODO optimize by skipping files
|
temp.removeByKeyIf([&keys](const QString & key) { return ! keys.contains(key); }); // TODO optimize by skipping files
|
||||||
|
}
|
||||||
temp.removeDuplicates(currentValues);
|
temp.removeDuplicates(currentValues);
|
||||||
o_values.insert(temp, QFileInfo(file).lastModified().toMSecsSinceEpoch());
|
o_values.insert(temp, QFileInfo(file).lastModified().toMSecsSinceEpoch());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user