Merge pull request #3908 from Chocobo1/rm_nsort

Replace `naturalSort()` with `naturalCompare()`.
This commit is contained in:
sledgehammer999
2016-05-08 11:12:51 -05:00
10 changed files with 201 additions and 242 deletions

View File

@@ -314,7 +314,7 @@ void AutomatedRssDownloader::initCategoryCombobox()
{
// Load torrent categories
QStringList categories = BitTorrent::Session::instance()->categories();
std::sort(categories.begin(), categories.end(), Utils::String::NaturalCompare());
std::sort(categories.begin(), categories.end(), Utils::String::naturalCompareCaseInsensitive);
ui->comboCategory->addItems(categories);
}