mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
[PR #622] Qt/GameListSettings: Use native path separators #68
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/stenzek/duckstation/pull/622
State: closed
Merged: Yes
QFileDialog::getExistingDirectory()returns paths with forward slash by default. This path string eventually gets passed toFileSystem::FindFiles()which constructs the rest of the path string using native path separators. This means that for example if on Windows we had addedC:/path/to/gamenon-recursively andC:/path/torecursively through Qt, we would findC:/path/to/game\x.cueandC:/path/to\game\x.cue, resulting in the same game appearing twice on the game list.