inside ConfigManager, don't use getter

This commit is contained in:
codic 2021-12-18 23:30:54 -08:00
parent fed9b8ca04
commit e9e0805b91

View file

@ -318,7 +318,7 @@ void parseLine(std::string& line) {
}
void ConfigManager::loadConfigLoadVars() {
const auto ORIGBORDERSIZE = ConfigManager::getInt("border_size");
const auto ORIGBORDERSIZE = configValues["border_size"].intValue;
Debug::log(LOG, "Reloading the config!");
ConfigManager::parseError = ""; // reset the error
ConfigManager::currentCategory = ""; // reset the category
@ -404,7 +404,7 @@ void ConfigManager::loadConfigLoadVars() {
loadBar = true;
isFirstLaunch = false;
if (ORIGBORDERSIZE != ConfigManager::getInt("border_size")) EWMH::refreshAllExtents();
if (ORIGBORDERSIZE != configValues["border_size"].intValue) EWMH::refreshAllExtents();
}
void ConfigManager::applyKeybindsToX() {