Fix a bug with descriptons

This commit is contained in:
ArsenArsen 2017-07-20 00:43:07 +02:00
parent e55185da05
commit 990bcd5ad9
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ CustomUploader::CustomUploader(QString absFilePath) {
error(absFilePath, "name is not a string"); error(absFilePath, "name is not a string");
else else
uName = obj["name"].toString(); uName = obj["name"].toString();
if (!obj.contains("desc")) { if (obj.contains("desc")) {
if (!obj["desc"].isString()) if (!obj["desc"].isString())
/*t*/ error(absFilePath, "desc not a string"); /*t*/ error(absFilePath, "desc not a string");
else else