Merge pull request #7114 from Techjar/patch-3
Qt/GameCubePane: Fix memcard browsing starting in working directory instead of User/GC/ directory
This commit is contained in:
commit
e69c6cdaab
|
@ -168,7 +168,8 @@ void GameCubePane::OnConfigPressed(int slot)
|
||||||
}
|
}
|
||||||
|
|
||||||
QString filename =
|
QString filename =
|
||||||
QFileDialog::getOpenFileName(this, tr("Choose a file to open"), QStringLiteral(""), filter);
|
QFileDialog::getOpenFileName(this, tr("Choose a file to open"),
|
||||||
|
QString::fromStdString(File::GetUserPath(D_GCUSER_IDX)), filter);
|
||||||
|
|
||||||
if (filename.isEmpty() || !File::Exists(filename.toStdString()))
|
if (filename.isEmpty() || !File::Exists(filename.toStdString()))
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue