diff --git a/components/config/launchersettings.cpp b/components/config/launchersettings.cpp index 449edd1b89..8c18d60210 100644 --- a/components/config/launchersettings.cpp +++ b/components/config/launchersettings.cpp @@ -271,8 +271,7 @@ void Config::LauncherSettings::setContentList(const GameSettings& gameSettings) #endif constexpr auto compareDataDirectories = [caseSensitivity](const SettingValue& dir, const QString& listDir) { return dir.originalRepresentation == listDir - || QDir::cleanPath(dir.originalRepresentation) - .compare(QDir::cleanPath(listDir), caseSensitivity) == 0; + || QDir::cleanPath(dir.originalRepresentation).compare(QDir::cleanPath(listDir), caseSensitivity) == 0; }; if (!std::ranges::equal(dirs, listDirs, compareDataDirectories)) continue;