diff --git a/src/libdev/machgui/ctxoptns.cpp b/src/libdev/machgui/ctxoptns.cpp index faf07aa9..2d4b8ab9 100644 --- a/src/libdev/machgui/ctxoptns.cpp +++ b/src/libdev/machgui/ctxoptns.cpp @@ -443,7 +443,7 @@ MachGuiCtxOptions::MachGuiCtxOptions(MachGuiStartupScreens* pStartupScreens) auto items = MachGuiDropDownListBoxCreator::createBoxItems(scaleValues); pScaleFactorSelector_->items(items); - setOptions(); + readFromConfig(); TEST_INVARIANT; } @@ -493,7 +493,7 @@ void MachGuiCtxOptions::buttonEvent(MachGuiStartupScreens::ButtonEvent buttonEve { int currentScaleFactorValue = SysRegistry::instance().queryIntegerValue(c_ScaleFactorOptionKey, "Value"); - getOptions(); + writeToConfig(); SysRegistry::instance().reload(); @@ -561,7 +561,7 @@ void MachGuiCtxOptions::buttonEvent(MachGuiStartupScreens::ButtonEvent buttonEve } } -void MachGuiCtxOptions::getOptions() +void MachGuiCtxOptions::writeToConfig() { // Used to set current game settings to be that of gui items @@ -690,7 +690,7 @@ void MachGuiCtxOptions::getOptions() } } -void MachGuiCtxOptions::setOptions() +void MachGuiCtxOptions::readFromConfig() { // Used to set gui items to reflect current game settings SysRegistry::KeyHandle handle; diff --git a/src/libdev/machgui/ctxoptns.hpp b/src/libdev/machgui/ctxoptns.hpp index 70bab781..4c9c60de 100644 --- a/src/libdev/machgui/ctxoptns.hpp +++ b/src/libdev/machgui/ctxoptns.hpp @@ -51,8 +51,8 @@ class MachGuiCtxOptions : public MachGuiStartupScreenContext private: friend std::ostream& operator<<(std::ostream& o, const MachGuiCtxOptions& t); - void getOptions(); - void setOptions(); + void writeToConfig(); + void readFromConfig(); void showDirect3DDrivers(); MachGuiCtxOptions(const MachGuiCtxOptions&);