mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Merge pull request #8215 from CookiePLMonster/appverifier-sanitize
Fixed various errors spotted with Application Verifier
This commit is contained in:
@ -177,7 +177,7 @@ int main(int argc, char* argv[])
|
||||
int retval;
|
||||
|
||||
{
|
||||
DolphinAnalytics::Instance()->ReportDolphinStart("qt");
|
||||
DolphinAnalytics::Instance().ReportDolphinStart("qt");
|
||||
|
||||
MainWindow win{std::move(boot), static_cast<const char*>(options.get("movie"))};
|
||||
if (options.is_set("debugger"))
|
||||
@ -210,7 +210,7 @@ int main(int argc, char* argv[])
|
||||
SConfig::GetInstance().m_analytics_permission_asked = true;
|
||||
Settings::Instance().SetAnalyticsEnabled(answer == QMessageBox::Yes);
|
||||
|
||||
DolphinAnalytics::Instance()->ReloadConfig();
|
||||
DolphinAnalytics::Instance().ReloadConfig();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -300,7 +300,7 @@ void GeneralPane::OnSaveConfig()
|
||||
|
||||
#if defined(USE_ANALYTICS) && USE_ANALYTICS
|
||||
Settings::Instance().SetAnalyticsEnabled(m_checkbox_enable_analytics->isChecked());
|
||||
DolphinAnalytics::Instance()->ReloadConfig();
|
||||
DolphinAnalytics::Instance().ReloadConfig();
|
||||
#endif
|
||||
settings.bCPUThread = m_checkbox_dualcore->isChecked();
|
||||
Config::SetBaseOrCurrent(Config::MAIN_CPU_THREAD, m_checkbox_dualcore->isChecked());
|
||||
@ -325,8 +325,8 @@ void GeneralPane::OnSaveConfig()
|
||||
#if defined(USE_ANALYTICS) && USE_ANALYTICS
|
||||
void GeneralPane::GenerateNewIdentity()
|
||||
{
|
||||
DolphinAnalytics::Instance()->GenerateNewIdentity();
|
||||
DolphinAnalytics::Instance()->ReloadConfig();
|
||||
DolphinAnalytics::Instance().GenerateNewIdentity();
|
||||
DolphinAnalytics::Instance().ReloadConfig();
|
||||
ModalMessageBox message_box(this);
|
||||
message_box.setIcon(QMessageBox::Information);
|
||||
message_box.setWindowTitle(tr("Identity Generation"));
|
||||
|
Reference in New Issue
Block a user