mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
[PR #622] [MERGED] Qt/GameListSettings: Use native path separators #65
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?
📋 Pull Request Information
Original PR: https://github.com/stenzek/duckstation/pull/622
Author: @ggrtk
Created: 7/18/2020
Status: ✅ Merged
Merged: 7/19/2020
Merged by: @stenzek
Base:
master← Head:qt-gamelistsettings📝 Commits (1)
2853bf8Qt/GameListSettings: Use native path separators📊 Changes
1 file changed (+3 additions, -1 deletions)
View changed files
📝
src/duckstation-qt/gamelistsettingswidget.cpp(+3 -1)📄 Description
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.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.