@@ -183,7 +183,7 @@ void Method::getAllFiles(const QString& foldPath, QStringList& folds,
183183 while (it.hasNext ()) {
184184 it.next ();
185185 QFileInfo fileInfo = it.fileInfo ();
186- if (formats.contains (fileInfo.suffix ())) { // 检测格式,按需保存
186+ if (formats.contains (fileInfo.suffix ())) { // 检测格式,按需保存
187187 folds << fileInfo.absoluteFilePath ();
188188 }
189189 }
@@ -320,7 +320,7 @@ void Method::kextUpdate() {
320320 }
321321 }
322322 } // end for j=0
323- } // end !isDev
323+ } // end !isDev
324324 else {
325325 QString strName = name;
326326 strName = strName.replace (" .kext" , 0 );
@@ -444,7 +444,7 @@ void Method::startDownload(QString strUrl) {
444444
445445 myfile->setFileName (file);
446446 bool ret =
447- myfile->open (QIODevice::WriteOnly | QIODevice::Truncate); // 创建文件
447+ myfile->open (QIODevice::WriteOnly | QIODevice::Truncate); // 创建文件
448448 if (!ret) {
449449 mw_one->dlgSyncOC ->ui ->btnStop ->click ();
450450 QMessageBox::warning (this , tr (" Warning" ),
@@ -712,7 +712,7 @@ void Method::updateOpenCore() {
712712}
713713
714714void Method::doProcessDownloadProgress (qint64 recv_total,
715- qint64 all_total) // 显示
715+ qint64 all_total) // 显示
716716{
717717 if (blBreak) return ;
718718
@@ -1054,7 +1054,7 @@ void Method::set_nv_key(QString key, QString dataType) {
10541054 mw_one->ui ->table_nv_add ->setItem (mw_one->ui ->table_nv_add ->rowCount () - 1 ,
10551055 1 , newItem1);
10561056
1057- // 保存数据
1057+ // 保存数据
10581058 mw_one->write_ini (mw_one->ui ->table_nv_add0 , mw_one->ui ->table_nv_add ,
10591059 mw_one->ui ->table_nv_add0 ->currentRow ());
10601060 }
@@ -1213,6 +1213,11 @@ void Method::goTable(QTableWidget* table) {
12131213 mw_one->ui ->listMain ->setCurrentRow (7 );
12141214 mw_one->ui ->listSub ->setCurrentRow (8 );
12151215 }
1216+
1217+ if (table == mw_one->ui ->table_uefi_Unload ) {
1218+ mw_one->ui ->listMain ->setCurrentRow (7 );
1219+ mw_one->ui ->listSub ->setCurrentRow (9 );
1220+ }
12161221}
12171222
12181223QString Method::copyDrivers (QString pathSource, QString pathTarget) {
@@ -2510,7 +2515,7 @@ void Method::set_TableData(QTableWidget* t, QVariantList mapList) {
25102515 }
25112516 }
25122517
2513- if (map.count () == 0 ) { // 代表列,从0开始
2518+ if (map.count () == 0 ) { // 代表列,从0开始
25142519 QTableWidgetItem* newItem1 =
25152520 new QTableWidgetItem (mapList.at (i).toString ());
25162521 t->setItem (i + rowTotal, 0 , newItem1);
0 commit comments