修复邮件发送模块不支持Qt6的BUG
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user