Ignore filename case when loading custom sets

This commit is contained in:
Fabio Bas 2015-05-21 19:58:35 +02:00
parent b566bf4a19
commit 6af91b3d1c

View file

@ -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);
}