From 4f8825e3715c5672ebcb14b457ba52df73b9492a Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 30 Sep 2008 06:14:37 +0000 Subject: [PATCH] - Fixed priority column sorting (closes #276190) --- src/FinishedTorrents.cpp | 1 + src/downloadingTorrents.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/FinishedTorrents.cpp b/src/FinishedTorrents.cpp index bbc5f72c4..dccb28101 100644 --- a/src/FinishedTorrents.cpp +++ b/src/FinishedTorrents.cpp @@ -625,6 +625,7 @@ void FinishedTorrents::sortFinishedList(int index, Qt::SortOrder sortOrder){ 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 b3a2b8555..a7eb482a9 100644 --- a/src/downloadingTorrents.cpp +++ b/src/downloadingTorrents.cpp @@ -687,6 +687,7 @@ void DownloadingTorrents::toggleDownloadListSortOrder(int index) { case UPSPEED: case DLSPEED: case PROGRESS: + case PRIORITY: sortDownloadListFloat(index, sortOrder); break; default: