VideoConfig: Remove manual panic alert setting load

This code hadn't been touched since 2010. Nowadays, the panic alert
setting is loaded by ConfigManager and applied in UICommon.
VideoConfig has no business messing with it.
This commit is contained in:
Léo Lam 2017-06-10 20:24:18 +02:00
parent 0a69331371
commit 0e85c47237
1 changed files with 0 additions and 8 deletions

View File

@ -159,14 +159,6 @@ void VideoConfig::Refresh()
}
}
// Load common settings
IniFile iniFile;
iniFile.Load(File::GetUserPath(F_DOLPHINCONFIG_IDX));
IniFile::Section* interface = iniFile.GetOrCreateSection("Interface");
bool bTmp;
interface->Get("UsePanicHandlers", &bTmp, true);
SetEnableAlert(bTmp);
VerifyValidity();
}