Leave categories order intact in "Add new torrent" dialog.

The categories are already properly sorted in AddNewTorrentDialog; this
second case-sensitive sort undid all that.

This partially addresses #6708.
This commit is contained in:
Frédéric Brière 2017-04-28 18:45:52 -04:00
parent fc0c28d376
commit ec08cb5445

View file

@ -133,7 +133,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