细微修改

This commit is contained in:
Maicss
2020-06-17 17:00:17 +08:00
parent 873c52e602
commit 994dd35a97
3 changed files with 336 additions and 10 deletions

View File

@@ -122,7 +122,14 @@ if(nowDownload<allDownload){
startRequest(urList.at(nowDownload-1));
}
}
void Widget::on_listWidget_currentRowChanged(int currentRow)
{
qDebug()<<currentRow;
for (int i=0;i<allDownload;i++) {
download_list[i].choose(false);
}
download_list[currentRow].choose(true);
}
//菜单切换逻辑
void Widget::on_menu_btn_main_clicked() //主页
{
@@ -540,11 +547,4 @@ void Widget::on_menu_btn_download_clicked()
ui->stackedWidget->setCurrentIndex(1);
}
void Widget::on_listWidget_currentRowChanged(int currentRow)
{
qDebug()<<currentRow;
for (int i=0;i<allDownload;i++) {
download_list[i].choose(false);
}
download_list[currentRow].choose(true);
}