diff --git a/Source/Core/Core/ConfigManager.cpp b/Source/Core/Core/ConfigManager.cpp index b271ea544c..49259a7466 100644 --- a/Source/Core/Core/ConfigManager.cpp +++ b/Source/Core/Core/ConfigManager.cpp @@ -152,7 +152,6 @@ void SConfig::SaveInterfaceSettings(IniFile& ini) interface->Set("UsePanicHandlers", bUsePanicHandlers); interface->Set("OnScreenDisplayMessages", bOnScreenDisplayMessages); interface->Set("HideCursor", bHideCursor); - interface->Set("AutoHideCursor", bAutoHideCursor); interface->Set("MainWindowPosX", iPosX); interface->Set("MainWindowPosY", iPosY); interface->Set("MainWindowWidth", iWidth); @@ -458,7 +457,6 @@ void SConfig::LoadInterfaceSettings(IniFile& ini) interface->Get("UsePanicHandlers", &bUsePanicHandlers, true); interface->Get("OnScreenDisplayMessages", &bOnScreenDisplayMessages, true); interface->Get("HideCursor", &bHideCursor, false); - interface->Get("AutoHideCursor", &bAutoHideCursor, false); interface->Get("MainWindowPosX", &iPosX, INT_MIN); interface->Get("MainWindowPosY", &iPosY, INT_MIN); interface->Get("MainWindowWidth", &iWidth, -1); diff --git a/Source/Core/Core/ConfigManager.h b/Source/Core/Core/ConfigManager.h index af23ba326b..81aaa20370 100644 --- a/Source/Core/Core/ConfigManager.h +++ b/Source/Core/Core/ConfigManager.h @@ -132,7 +132,7 @@ struct SConfig : NonCopyable // Interface settings bool bConfirmStop = false; - bool bHideCursor = false, bAutoHideCursor = false; + bool bHideCursor = false; bool bUsePanicHandlers = true; bool bOnScreenDisplayMessages = true; std::string theme_name; diff --git a/Source/Core/DolphinQt2/Settings/InterfacePane.cpp b/Source/Core/DolphinQt2/Settings/InterfacePane.cpp index fd404fb83c..bae33ad704 100644 --- a/Source/Core/DolphinQt2/Settings/InterfacePane.cpp +++ b/Source/Core/DolphinQt2/Settings/InterfacePane.cpp @@ -131,7 +131,7 @@ void InterfacePane::LoadConfig() m_checkbox_enable_osd->setChecked(startup_params.bOnScreenDisplayMessages); m_checkbox_show_active_title->setChecked(startup_params.m_show_active_title); m_checkbox_pause_on_focus_lost->setChecked(startup_params.m_PauseOnFocusLost); - m_checkbox_hide_mouse->setChecked(startup_params.bAutoHideCursor); + m_checkbox_hide_mouse->setChecked(startup_params.bHideCursor); } void InterfacePane::OnSaveConfig() @@ -148,7 +148,7 @@ void InterfacePane::OnSaveConfig() settings.bOnScreenDisplayMessages = m_checkbox_enable_osd->isChecked(); settings.m_show_active_title = m_checkbox_show_active_title->isChecked(); settings.m_PauseOnFocusLost = m_checkbox_pause_on_focus_lost->isChecked(); - settings.bAutoHideCursor = m_checkbox_hide_mouse->isChecked(); + settings.bHideCursor = m_checkbox_hide_mouse->isChecked(); settings.SaveSettings(); }