调整表格

This commit is contained in:
2024-04-22 22:51:10 +08:00
parent 7ca314116c
commit fd07edc739
2 changed files with 7 additions and 5 deletions

View File

@@ -60,7 +60,7 @@ QStringList KernelInformation::get_pkgName(int value) const
QJsonArray list = get_kernelData(value).value("PkgName").toArray();
int count = list.count();
QStringList result;
for(int i = 0; i <= count; i++) {
for(int i = 0; i < count; i++) {
result << list.at(i).toString();
}
return result;
@@ -71,7 +71,7 @@ QStringList KernelInformation::get_system(int value) const
QJsonArray list = get_kernelData(value).value("System").toArray();
int count = list.count();
QStringList result;
for(int i = 0; i <= count; i++) {
for(int i = 0; i < count; i++) {
result << list.at(i).toString();
}
return result;
@@ -82,7 +82,7 @@ QStringList KernelInformation::get_arch(int value) const
QJsonArray list = get_kernelData(value).value("Arch").toArray();
int count = list.count();
QStringList result;
for(int i = 0; i <= count; i++) {
for(int i = 0; i < count; i++) {
result << list.at(i).toString();
}
return result;