Skip to content

Commit

Permalink
Merge pull request #7114 from Techjar/patch-3
Browse files Browse the repository at this point in the history
Qt/GameCubePane: Fix memcard browsing starting in working directory instead of User/GC/ directory
  • Loading branch information
spycrab committed Jun 14, 2018
2 parents 1f49a9c + 027fc6e commit e69c6cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/DolphinQt2/Settings/GameCubePane.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit e69c6cd

Please sign in to comment.