mirror of
https://github.com/Quill-OS/quill.git
synced 2024-10-31 21:33:22 -07:00
bugfix - i cant believe this was my code
This commit is contained in:
parent
fc8c2ea8b6
commit
e4aada6156
1 changed files with 2 additions and 2 deletions
|
@ -236,11 +236,9 @@ QString userapps::parseJsonShow(QJsonObject json)
|
|||
QJsonArray array = value.toArray();
|
||||
if(key == "RequiredFeatures") {
|
||||
bool foundRequiredFeature = false;
|
||||
appendString.append("None");
|
||||
|
||||
for(QJsonValueRef ref: array) {
|
||||
foundRequiredFeature = true;
|
||||
appendString.remove(appendString.size() - 4, 4);
|
||||
int id = ref.toInt();
|
||||
if(id == 0) {
|
||||
appendString.append("Wi-Fi connection");
|
||||
|
@ -256,6 +254,8 @@ QString userapps::parseJsonShow(QJsonObject json)
|
|||
|
||||
if(foundRequiredFeature == true) {
|
||||
appendString.remove(appendString.size() - 2, 2);
|
||||
} else {
|
||||
appendString.append("None");
|
||||
}
|
||||
}
|
||||
else if(key == "SupportedDevices") {
|
||||
|
|
Loading…
Reference in a new issue