mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-09-02 04:59:06 +00:00
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") {
|
||||
FileSource bestSource;
|
||||
File file;
|
||||
file.executable = Json::ensureBoolean(fileObject, "executable", false);
|
||||
file.executable = Json::ensureBoolean(fileObject, QString("executable"), false);
|
||||
auto downloads = Json::requireObject(fileObject, "downloads");
|
||||
for(auto iter2 = downloads.begin(); iter2 != downloads.end(); iter2++) {
|
||||
FileSource source;
|
||||
|
Loading…
Reference in New Issue
Block a user