mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 05:31:25 -07:00
Replace naturalSort()
with naturalCompare()
.
This commit is contained in:
parent
484cd2f1ce
commit
d65ff87148
9 changed files with 82 additions and 149 deletions
|
@ -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::naturalCompare);
|
||||
ui->comboCategory->addItems(categories);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue