更新代码

This commit is contained in:
feiyangqingyun
2023-01-30 11:41:50 +08:00
parent 890c06d443
commit d35ca11ee2
30 changed files with 85 additions and 68 deletions

View File

@@ -218,7 +218,7 @@ void DeviceSizeTable::checkSize(const QString &result, const QString &name)
QStringList list = result.split(" ");
int index = 0;
for (int i = 0; i < list.count(); ++i) {
for (int i = 0; i < list.size(); ++i) {
QString s = list.at(i).trimmed();
if (s.isEmpty()) {
continue;