GameTracker.cpp: fix compilation with Clang on Windows
This commit is contained in:
parent
5cb9ac0b3a
commit
41953d3519
|
@ -20,6 +20,9 @@
|
|||
|
||||
#include "UICommon/GameFile.h"
|
||||
|
||||
#pragma push_macro("RemoveDirectory")
|
||||
#undef RemoveDirectory
|
||||
|
||||
// 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("*.[gG][cC][mM]"), QStringLiteral("*.[iI][sS][oO]"),
|
||||
|
@ -369,3 +372,5 @@ void GameTracker::PurgeCache()
|
|||
m_needs_purge = true;
|
||||
Settings::Instance().RefreshGameList();
|
||||
}
|
||||
|
||||
#pragma pop_macro("RemoveDirectory")
|
||||
|
|
Loading…
Reference in New Issue