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 committed by sledgehammer999
commit 412584e9c3
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

View file

@ -114,7 +114,6 @@ AddNewTorrentDialog::AddNewTorrentDialog(QWidget *parent)
if (category != defaultCategory)
ui->categoryComboBox->addItem(category);
ui->categoryComboBox->model()->sort(0);
ui->contentTreeView->header()->setSortIndicator(0, Qt::AscendingOrder);
loadState();
// Signal / slots