From ec08cb54456d2c5fd376e341adb7662b361c8b5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Bri=C3=A8re?= Date: Fri, 28 Apr 2017 18:45:52 -0400 Subject: [PATCH] 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. --- src/gui/addnewtorrentdialog.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/addnewtorrentdialog.cpp b/src/gui/addnewtorrentdialog.cpp index 95b492dc7..354556f1b 100644 --- a/src/gui/addnewtorrentdialog.cpp +++ b/src/gui/addnewtorrentdialog.cpp @@ -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