diff --git a/cockatrice/src/game_graphics/zones/table_zone.cpp b/cockatrice/src/game_graphics/zones/table_zone.cpp index b2895c56a..c857a5a67 100644 --- a/cockatrice/src/game_graphics/zones/table_zone.cpp +++ b/cockatrice/src/game_graphics/zones/table_zone.cpp @@ -283,7 +283,7 @@ void TableZone::reloadBattlefieldAppearance() static QHash loadedFamilies; zoneLabelFontFamily.clear(); for (const QString &path : fontPaths) { - if (!QFileInfo::isFile(path)) { + if (!QFileInfo(path).isFile()) { continue; } if (loadedFamilies.contains(path)) {