mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 05:20:00 -08:00
Merge pull request #2 from Continuum-Universes-Studio/feature/continuumatrice-zone-bands
Fix QFileInfo instance method call in battlefield font loader
This commit is contained in:
commit
bd9fd6e91b
1 changed files with 1 additions and 1 deletions
|
|
@ -283,7 +283,7 @@ void TableZone::reloadBattlefieldAppearance()
|
|||
static QHash<QString, QString> loadedFamilies;
|
||||
zoneLabelFontFamily.clear();
|
||||
for (const QString &path : fontPaths) {
|
||||
if (!QFileInfo::isFile(path)) {
|
||||
if (!QFileInfo(path).isFile()) {
|
||||
continue;
|
||||
}
|
||||
if (loadedFamilies.contains(path)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue