Merge pull request #13926 from Dentomologist/settings_open_file_dialog_at_user_path

Settings: Open file dialogs at user path instead of custom path
This commit is contained in:
Jordan Woyak 2025-10-02 15:13:31 -05:00 committed by GitHub
commit dbb5a8eb0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 6 deletions

View file

@ -531,7 +531,7 @@ void WiiPane::BrowseSDSyncFolder()
{
QString file = QDir::toNativeSeparators(DolphinFileDialog::getExistingDirectory(
this, tr("Select a Folder to Sync with the SD Card Image"),
QString::fromStdString(Config::Get(Config::MAIN_WII_SD_CARD_SYNC_FOLDER_PATH))));
QString::fromStdString(File::GetUserPath(D_WIISDCARDSYNCFOLDER_IDX))));
if (!file.isEmpty())
SetSDSyncFolder(file);
}