mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Qt/GameCubePane: Fix memcard browsing starting in working directory instead of User/GC/ directory
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user