mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 11:38:50 -07:00
Merge pull request #5882 from onto/pvs-studio
Fixes and improvements after check by PVS-Studio
This commit is contained in:
commit
90bbe3379d
5 changed files with 13 additions and 13 deletions
|
@ -131,7 +131,7 @@ bool TransferListSortModel::lessThan(const QModelIndex &left, const QModelIndex
|
|||
const bool seedingR = (prioR < 0);
|
||||
|
||||
bool activeR = TorrentFilter::ActiveTorrent.match(model->torrentHandle(model->index(right.row())));
|
||||
bool activeL = TorrentFilter::ActiveTorrent.match(model->torrentHandle(model->index(right.row())));
|
||||
bool activeL = TorrentFilter::ActiveTorrent.match(model->torrentHandle(model->index(left.row())));
|
||||
|
||||
// Sorting rules prioritized.
|
||||
// 1. Active torrents at the top
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue