Ignore filename case when loading custom sets
This commit is contained in:
parent
b566bf4a19
commit
6af91b3d1c
1 changed files with 1 additions and 1 deletions
|
@ -1059,7 +1059,7 @@ void CardDatabase::loadCustomCardDatabases(const QString &path)
|
||||||
if(!dir.exists())
|
if(!dir.exists())
|
||||||
return;
|
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);
|
loadCardDatabase(dir.absoluteFilePath(fileName), false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue