mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
Get case insensitive sorting in the Map Settings Dialog for Map Items
This commit is contained in:
parent
0398414e2c
commit
c06e740ffc
@ -87,7 +87,7 @@ MapSettingsDialog::MapSettingsDialog(MapSettings *settings, QWidget* parent) :
|
||||
QList<MapSettings::MapItemSettings *> 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<MapSettings::MapItemSettings *> itr(itemSettings);
|
||||
while (itr.hasNext())
|
||||
|
Loading…
Reference in New Issue
Block a user