NOISSUE dis-ambiguate call to ensureBoolean in PackageManifest
This commit is contained in:
parent
a49472349d
commit
015c34bb38
@ -100,7 +100,7 @@ void fromJson(QJsonDocument & doc, Package & out) {
|
|||||||
else if(type == "file") {
|
else if(type == "file") {
|
||||||
FileSource bestSource;
|
FileSource bestSource;
|
||||||
File file;
|
File file;
|
||||||
file.executable = Json::ensureBoolean(fileObject, "executable", false);
|
file.executable = Json::ensureBoolean(fileObject, QString("executable"), false);
|
||||||
auto downloads = Json::requireObject(fileObject, "downloads");
|
auto downloads = Json::requireObject(fileObject, "downloads");
|
||||||
for(auto iter2 = downloads.begin(); iter2 != downloads.end(); iter2++) {
|
for(auto iter2 = downloads.begin(); iter2 != downloads.end(); iter2++) {
|
||||||
FileSource source;
|
FileSource source;
|
||||||
|
Loading…
Reference in New Issue
Block a user