mirror of
https://github.com/PabloMK7/citra.git
synced 2025-12-15 19:58:47 +00:00
Per-Game Settings: options to reset game settings (#6219)
This commit is contained in:
parent
cb82ffbe20
commit
812c4fa059
4 changed files with 34 additions and 1 deletions
|
|
@ -141,10 +141,12 @@ void ConfigureGeneral::ResetDefaults() {
|
|||
tr("Are you sure you want to <b>reset your settings</b> and close Citra?"),
|
||||
QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
|
||||
|
||||
if (answer == QMessageBox::No)
|
||||
if (answer == QMessageBox::No) {
|
||||
return;
|
||||
}
|
||||
|
||||
FileUtil::Delete(FileUtil::GetUserPath(FileUtil::UserPath::ConfigDir) + "qt-config.ini");
|
||||
FileUtil::DeleteDirRecursively(FileUtil::GetUserPath(FileUtil::UserPath::ConfigDir) + "custom");
|
||||
std::exit(0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue