mirror of
https://github.com/Quill-OS/quill.git
synced 2024-10-31 21:33:22 -07:00
syntax fixes
This commit is contained in:
parent
e4aada6156
commit
118e4db69d
1 changed files with 2 additions and 2 deletions
|
@ -236,7 +236,6 @@ QString userapps::parseJsonShow(QJsonObject json)
|
||||||
QJsonArray array = value.toArray();
|
QJsonArray array = value.toArray();
|
||||||
if(key == "RequiredFeatures") {
|
if(key == "RequiredFeatures") {
|
||||||
bool foundRequiredFeature = false;
|
bool foundRequiredFeature = false;
|
||||||
|
|
||||||
for(QJsonValueRef ref: array) {
|
for(QJsonValueRef ref: array) {
|
||||||
foundRequiredFeature = true;
|
foundRequiredFeature = true;
|
||||||
int id = ref.toInt();
|
int id = ref.toInt();
|
||||||
|
@ -254,7 +253,8 @@ QString userapps::parseJsonShow(QJsonObject json)
|
||||||
|
|
||||||
if(foundRequiredFeature == true) {
|
if(foundRequiredFeature == true) {
|
||||||
appendString.remove(appendString.size() - 2, 2);
|
appendString.remove(appendString.size() - 2, 2);
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
appendString.append("None");
|
appendString.append("None");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue