diff --git a/launcher/updatedialog_moc.cpp b/launcher/updatedialog_moc.cpp index a6224a60a..5542fa903 100644 --- a/launcher/updatedialog_moc.cpp +++ b/launcher/updatedialog_moc.cpp @@ -96,7 +96,7 @@ void UpdateDialog::loadFromJson(const JsonNode & node) node["updateType"].getType() != JsonNode::JsonType::DATA_STRING || node["version"].getType() != JsonNode::JsonType::DATA_STRING || node["changeLog"].getType() != JsonNode::JsonType::DATA_STRING || - node.getType() != JsonNode::JsonType::DATA_STRUCT) //we need at least one link - other are optional + node["downloadLinks"].getType() != JsonNode::JsonType::DATA_STRUCT) //we need at least one link - other are optional { ui->plainTextEdit->setPlainText("Cannot read JSON from url or incorrect JSON data"); return;