refs #601, #600 Fixed inverted conditions in CValueCache and CSettingsCache.

This commit is contained in:
Klaus Basan
2016-02-25 22:24:33 +00:00
committed by Mathew Sutcliffe
parent f1a69d749d
commit 83082d3f63
2 changed files with 2 additions and 5 deletions

View File

@@ -297,7 +297,7 @@ namespace BlackMisc
}
CVariantMap temp;
temp.convertFromJson(json.object());
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);
o_values.insert(temp, QFileInfo(file).lastModified().toMSecsSinceEpoch());
}