修复邮件发送模块不支持Qt6的BUG

This commit is contained in:
feiyangqingyun
2022-04-26 16:56:56 +08:00
parent 7d5ac875a9
commit 4f2801a821
28 changed files with 100 additions and 112 deletions

View File

@@ -96,7 +96,7 @@ void DeviceSizeTable::load()
{
//清空原有数据
int row = this->rowCount();
for (int i = 0; i < row; i++) {
for (int i = 0; i < row; ++i) {
this->removeRow(0);
}
@@ -215,7 +215,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.count(); ++i) {
QString s = list.at(i).trimmed();
if (s == "") {
continue;