Commit 6af91b3d authored by Fabio Bas's avatar Fabio Bas
Browse files

Ignore filename case when loading custom sets

parent b566bf4a
......@@ -1059,7 +1059,7 @@ void CardDatabase::loadCustomCardDatabases(const QString &path)
if(!dir.exists())
return;
foreach(QString fileName, dir.entryList(QStringList("*.xml"), QDir::Files | QDir::Readable, QDir::Name))
foreach(QString fileName, dir.entryList(QStringList("*.xml"), QDir::Files | QDir::Readable, QDir::Name | QDir::IgnoreCase))
{
loadCardDatabase(dir.absoluteFilePath(fileName), false);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment