mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-04-23 03:43:17 +03:00
Fix 4 issues
Fixes #48 Fixes CustomButton doesn't get highlighted when clicking a radio button Fixes issue where disksGroup actions were not being cleared Fixes some warnings
This commit is contained in:
@@ -29,6 +29,8 @@ QVector<QPair<QString, int>> JsonParser::parse(const QString &json)
|
||||
if (found) {
|
||||
if (trimmedLine.contains("}")) {
|
||||
break;
|
||||
} else if (trimmedLine.contains("nsid")) { // smartctl now adds an nsid field, skip it for now
|
||||
continue;
|
||||
}
|
||||
qsizetype colonPos = trimmedLine.indexOf(":");
|
||||
if (colonPos != -1) {
|
||||
|
||||
Reference in New Issue
Block a user