Permalink
Browse files

Qt/GameTracker: Match uppercase file extensions

  • Loading branch information...
spycrab committed Apr 29, 2018
1 parent 1c9b64f commit f5cfd1ab14c002a045a3900f8537b47249c0a40c
Showing with 6 additions and 3 deletions.
  1. +6 −3 Source/Core/DolphinQt2/GameList/GameTracker.cpp
@@ -12,10 +12,13 @@
#include "DolphinQt2/QtUtils/QueueOnObject.h"
#include "DolphinQt2/Settings.h"
// NOTE: Qt likes to be case-sensitive here even though it shouldn't be thus this ugly regex hack
static const QStringList game_filters{
QStringLiteral("*.gcm"), QStringLiteral("*.iso"), QStringLiteral("*.tgc"),
QStringLiteral("*.ciso"), QStringLiteral("*.gcz"), QStringLiteral("*.wbfs"),
QStringLiteral("*.wad"), QStringLiteral("*.elf"), QStringLiteral("*.dol")};
QStringLiteral("*.[gG][cC][mM]"), QStringLiteral("*.[iI][sS][oO]"),
QStringLiteral("*.[tT][gG][cC]"), QStringLiteral("*.[cC][iI][sS][oO]"),
QStringLiteral("*.[gG][cC][zZ]"), QStringLiteral("*.[wW][bB][fF][sS]"),
QStringLiteral("*.[wW][aA][dD]"), QStringLiteral("*.[eE][lL][fF]"),
QStringLiteral("*.[dD][oO][lL]")};
GameTracker::GameTracker(QObject* parent) : QFileSystemWatcher(parent)
{

0 comments on commit f5cfd1a

Please sign in to comment.