Update src/CopyrighFixer/CopyrighFixer/sign.cpp

Co-authored-by: Andrei Yankovich <EndrIIMail@gmail.com>
This commit is contained in:
Igor loschinin 2021-05-03 20:49:52 +03:00 committed by GitHub
parent 65a6f89754
commit 2294000bdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ bool Signature::fromJson(const QString &pathToFile) {
QJsonArray ownLst(jsObj.value("ownersList").toArray());
for (auto itemLst = ownLst.cbegin(); itemLst != ownLst.cend(); ++itemLst) {
ownObj.fromjson(itemLst->toObject());
_ownersMap.insert(itemLst->toObject().value("timePoint").toInt(), ownObj);
_ownersMap.insert(ownObj.value("timePoint").toInt(), ownObj);
}
_licenseTitle = jsObj.value("license").toString();