diff --git a/plugins/feature/map/mapsettingsdialog.cpp b/plugins/feature/map/mapsettingsdialog.cpp index d6c43f0e2..5b33a310e 100644 --- a/plugins/feature/map/mapsettingsdialog.cpp +++ b/plugins/feature/map/mapsettingsdialog.cpp @@ -87,7 +87,7 @@ MapSettingsDialog::MapSettingsDialog(MapSettings *settings, QWidget* parent) : QList itemSettings = m_settings->m_itemSettings.values(); std::sort(itemSettings.begin(), itemSettings.end(), [](const MapSettings::MapItemSettings* a, const MapSettings::MapItemSettings* b) -> bool { - return a->m_group < b->m_group; + return a->m_group.compare(b->m_group, Qt::CaseInsensitive) < 0; }); QListIterator itr(itemSettings); while (itr.hasNext())