mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
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…
Add table
Add a link
Reference in a new issue