fix uppercase sorting

This commit is contained in:
vitor-k 2019-10-25 18:49:13 -03:00
parent eb7527254f
commit cc9bcf3e48

View File

@ -212,6 +212,9 @@ public:
const QString& row1 = display_texts.at(UISettings::values.game_list_row_1).simplified(); const QString& row1 = display_texts.at(UISettings::values.game_list_row_1).simplified();
if (role == SortRole)
return row1.toLower();
QString row2; QString row2;
auto row_2_id = UISettings::values.game_list_row_2; auto row_2_id = UISettings::values.game_list_row_2;
if (row_2_id != UISettings::GameListText::NoText) { if (row_2_id != UISettings::GameListText::NoText) {