From ba06affec7a57d075b53cf3530655a13a1d0bc62 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 19 Aug 2008 12:17:05 +0000 Subject: [PATCH] - Fixed priority column sorting --- src/FinishedTorrents.cpp | 1 + src/downloadingTorrents.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/FinishedTorrents.cpp b/src/FinishedTorrents.cpp index 114001ddc..4fe211f6a 100644 --- a/src/FinishedTorrents.cpp +++ b/src/FinishedTorrents.cpp @@ -590,6 +590,7 @@ void FinishedTorrents::sortFinishedList(int index){ switch(index){ case F_SIZE: case F_UPSPEED: + case F_PRIORITY: sortFinishedListFloat(index, sortOrder); break; default: diff --git a/src/downloadingTorrents.cpp b/src/downloadingTorrents.cpp index 7648c5cd5..b77232a3e 100644 --- a/src/downloadingTorrents.cpp +++ b/src/downloadingTorrents.cpp @@ -782,6 +782,7 @@ void DownloadingTorrents::sortDownloadList(int index, Qt::SortOrder startSortOrd case ETA: case UPSPEED: case DLSPEED: + case PRIORITY: sortDownloadListFloat(index, sortOrder); break; case PROGRESS: