mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-15 09:40:06 +00:00
Merge pull request #3760 from Morph1984/trailing-filedir-separator
frontend/filesystem: Add a trailing separator to the string path
This commit is contained in:
commit
8f548266cd
@ -138,7 +138,7 @@ void ConfigureFilesystem::SetDirectory(DirectoryTarget target, QLineEdit* edit)
|
||||
str = QFileDialog::getOpenFileName(this, caption, QFileInfo(edit->text()).dir().path(),
|
||||
QStringLiteral("NX Gamecard;*.xci"));
|
||||
} else {
|
||||
str = QFileDialog::getExistingDirectory(this, caption, edit->text());
|
||||
str = QFileDialog::getExistingDirectory(this, caption, edit->text()) + QDir::separator();
|
||||
}
|
||||
|
||||
if (str.isEmpty())
|
||||
|
Loading…
Reference in New Issue
Block a user