Merge pull request #6714 from fbriere/issue/6708-sort-categories

Fix instances where categories where still sorted case-sensitively. Closes #6708.
This commit is contained in:
Vladimir Golovnev 2017-05-17 21:47:20 +03:00 committed by GitHub
commit c4ccf6b774
9 changed files with 137 additions and 23 deletions

View file

@ -135,7 +135,6 @@ AddNewTorrentDialog::AddNewTorrentDialog(const BitTorrent::AddTorrentParams &inP
if (category != defaultCategory && category != m_torrentParams.category)
ui->categoryComboBox->addItem(category);
ui->categoryComboBox->model()->sort(0);
ui->contentTreeView->header()->setSortIndicator(0, Qt::AscendingOrder);
loadState();
// Signal / slots