ConfigManager: remove bAutoHideCursor
It's not used, and sounds like the same thing as `HideCursor`?
This commit is contained in:
parent
d712914d81
commit
14da8232f6
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue