Permalink
Browse files

Qt/GameCubePane: Fix memcard browsing starting in working directory i…

…nstead of User/GC/ directory
  • Loading branch information...
Techjar committed Jun 14, 2018
1 parent 1d87584 commit 027fc6efd54495f57a6fea9aa07d2a4a8a03a930
Showing with 2 additions and 1 deletion.
  1. +2 −1 Source/Core/DolphinQt2/Settings/GameCubePane.cpp
@@ -168,7 +168,8 @@ void GameCubePane::OnConfigPressed(int slot)
}
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()))
return;

0 comments on commit 027fc6e

Please sign in to comment.