summaryrefslogtreecommitdiff
path: root/src/dyetool
diff options
context:
space:
mode:
Diffstat (limited to 'src/dyetool')
-rw-r--r--src/dyetool/client.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dyetool/client.cpp b/src/dyetool/client.cpp
index 18fb9943c..42b570a6b 100644
--- a/src/dyetool/client.cpp
+++ b/src/dyetool/client.cpp
@@ -163,7 +163,7 @@ void Client::gameInit()
// Load branding information
if (!settings.options.brandingPath.empty())
branding.init(settings.options.brandingPath);
- branding.setDefaultValues(getBrandingDefaults());
+ setBrandingDefaults(branding);
Dirs::initRootDir();
Dirs::initHomeDir();
@@ -187,7 +187,7 @@ void Client::gameInit()
if (settings.options.test.empty())
ConfigManager::backupConfig("config.xml");
ConfigManager::initConfiguration();
- paths.setDefaultValues(getPathsDefaults());
+ setPathsDefaults(paths);
initPaths();
logger->log("init 4");
logger->setDebugLog(config.getBoolValue("debugLog"));
@@ -400,7 +400,7 @@ void Client::initGraphics()
graphicsManager.initGraphics();
imageHelper->postInit();
- getConfigDefaults2(config.getDefaultValues());
+ setConfigDefaults2(config);
WindowManager::applyGrabMode();
WindowManager::applyGamma();
@@ -676,7 +676,7 @@ int Client::gameExec()
logger->log("Init paths");
paths.init("paths.xml", UseVirtFs_true);
- paths.setDefaultValues(getPathsDefaults());
+ setPathsDefaults(paths);
initPaths();
TranslationManager::loadCurrentLang();
TranslationManager::loadDictionaryLang();