From 2201a5b0dd739f273f2a906eda3d4d31335c7c71 Mon Sep 17 00:00:00 2001 From: LostDragonist Date: Thu, 31 Jan 2019 11:31:22 -0600 Subject: Make gameShortName comparisons case insensitive --- src/modlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modlist.cpp') diff --git a/src/modlist.cpp b/src/modlist.cpp index 62c186a4..daa6ce73 100644 --- a/src/modlist.cpp +++ b/src/modlist.cpp @@ -253,7 +253,7 @@ QVariant ModList::data(const QModelIndex &modelIndex, int role) const } else if (column == COL_GAME) { if (m_PluginContainer != nullptr) { for (auto game : m_PluginContainer->plugins()) { - if (game->gameShortName() == modInfo->getGameName()) + if (game->gameShortName().compare(modInfo->getGameName(), Qt::CaseInsensitive) == 0) return game->gameName(); } } -- cgit v1.3.1