Skip to content

Commit

Permalink
Update src/gui/transferlistmodel.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Vladimir Golovnev <[email protected]>
  • Loading branch information
ManiMatter and glassez committed Jun 30, 2024
1 parent 902a4cb commit 0c31d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/transferlistmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ QVariant TransferListModel::internalValue(const BitTorrent::Torrent *torrent, co
case TR_REANNOUNCE:
return torrent->nextAnnounce();
case TR_PRIVATE:
return privateSort(torrent->isPrivate(), torrent->hasMetadata());
return (torrent->hasMetadata() ? torrent->isPrivate() : -1);
}

return {};
Expand Down

0 comments on commit 0c31d08

Please sign in to comment.