mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-16 14:42:52 +00:00
Merge pull request #6727 from spycrab/qt_fix_prof
Qt/MappingWindow: Fix saving to incomplete Profile directory
This commit is contained in:
commit
e89ac769fb
@ -199,8 +199,9 @@ void MappingWindow::OnLoadProfilePressed()
|
|||||||
void MappingWindow::OnSaveProfilePressed()
|
void MappingWindow::OnSaveProfilePressed()
|
||||||
{
|
{
|
||||||
const QString profile_name = m_profiles_combo->currentText();
|
const QString profile_name = m_profiles_combo->currentText();
|
||||||
const std::string profile_path =
|
const std::string profile_path = File::GetUserPath(D_CONFIG_IDX) + PROFILES_DIR +
|
||||||
File::GetUserPath(D_CONFIG_IDX) + PROFILES_DIR + profile_name.toStdString() + ".ini";
|
m_config->GetProfileName() + "/" + profile_name.toStdString() +
|
||||||
|
".ini";
|
||||||
|
|
||||||
if (profile_name.isEmpty())
|
if (profile_name.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user