From 1b99d1a80b227eeee020da2856936c04469bd54a Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Fri, 3 Mar 2023 22:55:15 +0000 Subject: [PATCH] Make comparisons case insensitive, as DAB ensemble names in database may not match transmitted. --- plugins/feature/map/mapmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/feature/map/mapmodel.cpp b/plugins/feature/map/mapmodel.cpp index 7827460c0..d7d8146e9 100644 --- a/plugins/feature/map/mapmodel.cpp +++ b/plugins/feature/map/mapmodel.cpp @@ -586,7 +586,7 @@ ObjectMapItem *ObjectMapModel::findMapItem(const QString& name) while (i.hasNext()) { MapItem *item = i.next(); - if (item->m_name == name) { + if (!item->m_name.compare(name, Qt::CaseInsensitive)) { return (ObjectMapItem *)item; } }