1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 15:27:54 +00:00

- As a default, sort search results list by Top seed first

This commit is contained in:
Christophe Dumez 2009-08-27 12:40:14 +00:00
parent 4fe22dbc57
commit f3af4867fd

View File

@ -84,6 +84,9 @@ SearchTab::SearchTab(SearchEngine *parent) : QWidget(), parent(parent)
if(!loadColWidthResultsList()){ if(!loadColWidthResultsList()){
resultsBrowser->header()->resizeSection(0, 275); resultsBrowser->header()->resizeSection(0, 275);
} }
// Sort by Seeds
resultsBrowser->sortByColumn(SEEDERS, Qt::DescendingOrder);
} }
void SearchTab::downloadSelectedItem(const QModelIndex& index) { void SearchTab::downloadSelectedItem(const QModelIndex& index) {