mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 04:42:03 +08:00
细微修改
This commit is contained in:
18
widget.cpp
18
widget.cpp
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user