- BUGFIX: Greatly improved column sorting code (download list only for now)

This commit is contained in:
Christophe Dumez 2009-08-26 03:50:20 +00:00
parent cdd894a6a1
commit 01d504d992
4 changed files with 54 additions and 156 deletions

View file

@ -1351,9 +1351,6 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis
BTSession->increaseDlTorrentPriority(hash);
}
updateLists();
// Update sorting if necessary
if(downloadingTorrentTab->isPriorityColumnSorted())
downloadingTorrentTab->sortDownloadList();
}
void GUI::on_actionDecreasePriority_triggered() {
@ -1363,9 +1360,6 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis
BTSession->decreaseDlTorrentPriority(hash);
}
updateLists();
// Update sorting if necessary
if(downloadingTorrentTab->isPriorityColumnSorted())
downloadingTorrentTab->sortDownloadList();
}
// pause selected items in the list