mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
- fixed sorting in finished list
This commit is contained in:
@@ -595,7 +595,7 @@ QAction* FinishedTorrents::getActionHoSCol(int index) {
|
|||||||
void FinishedTorrents::toggleFinishedListSortOrder(int index) {
|
void FinishedTorrents::toggleFinishedListSortOrder(int index) {
|
||||||
Qt::SortOrder sortOrder = Qt::AscendingOrder;
|
Qt::SortOrder sortOrder = Qt::AscendingOrder;
|
||||||
if(finishedList->header()->sortIndicatorSection() == index){
|
if(finishedList->header()->sortIndicatorSection() == index){
|
||||||
sortOrder = (Qt::SortOrder)!(bool)finishedList->header()->sortIndicatorSection();
|
sortOrder = (Qt::SortOrder)!(bool)finishedList->header()->sortIndicatorOrder();
|
||||||
}
|
}
|
||||||
switch(index) {
|
switch(index) {
|
||||||
case F_SIZE:
|
case F_SIZE:
|
||||||
|
|||||||
Reference in New Issue
Block a user