From 15df7029b94097cb655ab2ae970ce8402db92f9b Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Thu, 24 Sep 2009 19:11:18 +0000 Subject: [PATCH] - Hide download url column in search results --- src/SearchTab.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SearchTab.cpp b/src/SearchTab.cpp index 63b0fa7b7..23b6bd197 100644 --- a/src/SearchTab.cpp +++ b/src/SearchTab.cpp @@ -63,7 +63,6 @@ SearchTab::SearchTab(SearchEngine *parent) : QWidget(), parent(parent) SearchListModel->setHeaderData(SEARCH_SEEDERS, Qt::Horizontal, tr("Seeders", "i.e: Number of full sources")); SearchListModel->setHeaderData(SEARCH_LEECHERS, Qt::Horizontal, tr("Leechers", "i.e: Number of partial sources")); SearchListModel->setHeaderData(SEARCH_ENGINE, Qt::Horizontal, tr("Search engine")); - resultsBrowser->hideColumn(URL_COLUMN); // Hide url column proxyModel = new QSortFilterProxyModel(); proxyModel->setDynamicSortFilter(true); @@ -73,6 +72,8 @@ SearchTab::SearchTab(SearchEngine *parent) : QWidget(), parent(parent) SearchDelegate = new SearchListDelegate(); resultsBrowser->setItemDelegate(SearchDelegate); + resultsBrowser->hideColumn(URL_COLUMN); // Hide url column + resultsBrowser->setRootIsDecorated(false); resultsBrowser->setAllColumnsShowFocus(true); resultsBrowser->setSortingEnabled(true);