mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 16:53:08 -07:00
- fixed delete permanently in finished list
This commit is contained in:
parent
68b867e480
commit
5e73539393
4 changed files with 19 additions and 18 deletions
|
@ -864,9 +864,10 @@ void GUI::on_actionOpen_triggered(){
|
|||
void GUI::on_actionDelete_Permanently_triggered(){
|
||||
if(tabs->currentIndex() > 1) return;
|
||||
QModelIndexList selectedIndexes;
|
||||
bool inDownloadList = true;
|
||||
bool inDownloadList;
|
||||
if(tabs->currentIndex() == 0) {
|
||||
selectedIndexes = downloadList->selectionModel()->selectedIndexes();
|
||||
inDownloadList = true;
|
||||
} else {
|
||||
selectedIndexes = finishedTorrentTab->getFinishedList()->selectionModel()->selectedIndexes();
|
||||
inDownloadList = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue