c a p i t u l a t e

Looks like I forgot to reformat after a typo fix.
pull/3236/head
AnyOldName3 2 months ago
parent c2b383ea92
commit b596902329

@ -271,8 +271,7 @@ void Config::LauncherSettings::setContentList(const GameSettings& gameSettings)
#endif #endif
constexpr auto compareDataDirectories = [caseSensitivity](const SettingValue& dir, const QString& listDir) { constexpr auto compareDataDirectories = [caseSensitivity](const SettingValue& dir, const QString& listDir) {
return dir.originalRepresentation == listDir return dir.originalRepresentation == listDir
|| QDir::cleanPath(dir.originalRepresentation) || QDir::cleanPath(dir.originalRepresentation).compare(QDir::cleanPath(listDir), caseSensitivity) == 0;
.compare(QDir::cleanPath(listDir), caseSensitivity) == 0;
}; };
if (!std::ranges::equal(dirs, listDirs, compareDataDirectories)) if (!std::ranges::equal(dirs, listDirs, compareDataDirectories))
continue; continue;

Loading…
Cancel
Save