1
0
Fork 0
forked from suyu/suyu

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(),
QStringLiteral("NX Gamecard;*.xci"));
} else {
str = QFileDialog::getExistingDirectory(this, caption, edit->text());
str = QFileDialog::getExistingDirectory(this, caption, edit->text()) + QDir::separator();
}
if (str.isEmpty())