mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-06 02:33:44 -04:00
Fix segfault when resetting default settings (#1751)
This commit is contained in:
parent
1092295f2a
commit
c55165e19b
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ void ConfigureGeneral::ResetDefaults() {
|
||||||
|
|
||||||
FileUtil::Delete(FileUtil::GetUserPath(FileUtil::UserPath::ConfigDir) + "qt-config.ini");
|
FileUtil::Delete(FileUtil::GetUserPath(FileUtil::UserPath::ConfigDir) + "qt-config.ini");
|
||||||
FileUtil::DeleteDirRecursively(FileUtil::GetUserPath(FileUtil::UserPath::ConfigDir) + "custom");
|
FileUtil::DeleteDirRecursively(FileUtil::GetUserPath(FileUtil::UserPath::ConfigDir) + "custom");
|
||||||
std::exit(0);
|
qApp->quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigureGeneral::ApplyConfiguration() {
|
void ConfigureGeneral::ApplyConfiguration() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue