1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-14 00:37:58 +00:00

- fixed sorting in finished list

This commit is contained in:
Christophe Dumez 2008-09-13 19:57:54 +00:00
parent 95ecaec11e
commit 321b76a72a

View File

@ -595,7 +595,7 @@ QAction* FinishedTorrents::getActionHoSCol(int index) {
void FinishedTorrents::toggleFinishedListSortOrder(int index) {
Qt::SortOrder sortOrder = Qt::AscendingOrder;
if(finishedList->header()->sortIndicatorSection() == index){
sortOrder = (Qt::SortOrder)!(bool)finishedList->header()->sortIndicatorSection();
sortOrder = (Qt::SortOrder)!(bool)finishedList->header()->sortIndicatorOrder();
}
switch(index) {
case F_SIZE: