From 2b5dc5c4a668b527431b1997e116071a3dac1956 Mon Sep 17 00:00:00 2001 From: thalieht Date: Tue, 30 Aug 2016 13:23:22 +0300 Subject: [PATCH] SearchTab: can now save sorting column changes --- src/gui/search/searchtab.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gui/search/searchtab.cpp b/src/gui/search/searchtab.cpp index 84e575fb4..db4c0e2b3 100644 --- a/src/gui/search/searchtab.cpp +++ b/src/gui/search/searchtab.cpp @@ -130,9 +130,7 @@ SearchTab::SearchTab(SearchWidget *parent) connect(header(), SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(displayToggleColumnsMenu(const QPoint &))); connect(header(), SIGNAL(sectionResized(int, int, int)), this, SLOT(saveSettings())); connect(header(), SIGNAL(sectionMoved(int, int, int)), this, SLOT(saveSettings())); - - // Sort by Seeds - m_ui->resultsBrowser->sortByColumn(SearchSortModel::SEEDS, Qt::DescendingOrder); + connect(header(), SIGNAL(sortIndicatorChanged(int, Qt::SortOrder)), this, SLOT(saveSettings())); fillFilterComboBoxes();