2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Add a trailing separator to the string path

Fixes #3643
This commit is contained in:
Morph 2020-04-22 07:33:14 -04:00
parent e84f82a028
commit 91f1ffd283

View file

@ -138,7 +138,7 @@ void ConfigureFilesystem::SetDirectory(DirectoryTarget target, QLineEdit* edit)
str = QFileDialog::getOpenFileName(this, caption, QFileInfo(edit->text()).dir().path(), str = QFileDialog::getOpenFileName(this, caption, QFileInfo(edit->text()).dir().path(),
QStringLiteral("NX Gamecard;*.xci")); QStringLiteral("NX Gamecard;*.xci"));
} else { } else {
str = QFileDialog::getExistingDirectory(this, caption, edit->text()); str = QFileDialog::getExistingDirectory(this, caption, edit->text()) + QDir::separator();
} }
if (str.isEmpty()) if (str.isEmpty())