From 321b76a72aafaa753757817d9797c8b52fd7a9db Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 13 Sep 2008 19:57:54 +0000 Subject: [PATCH] - fixed sorting in finished list --- src/FinishedTorrents.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FinishedTorrents.cpp b/src/FinishedTorrents.cpp index f48c7f86b..a6c312a67 100644 --- a/src/FinishedTorrents.cpp +++ b/src/FinishedTorrents.cpp @@ -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: