summaryrefslogtreecommitdiff
path: root/src/unittests/gui/widgets/browserbox.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-31 01:34:38 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-31 01:34:38 +0300
commite826d4c63365dde4c988453846437dcb65370945 (patch)
tree1bd23d4694c06d97e7e8c885253c0100fe6142b9 /src/unittests/gui/widgets/browserbox.cc
parent75ca03c95c90064e67fa9eaddb4c609196dd3a27 (diff)
downloadmanaverse-e826d4c63365dde4c988453846437dcb65370945.tar.gz
manaverse-e826d4c63365dde4c988453846437dcb65370945.tar.bz2
manaverse-e826d4c63365dde4c988453846437dcb65370945.tar.xz
manaverse-e826d4c63365dde4c988453846437dcb65370945.zip
Improve setting default values for configuration objects.
Diffstat (limited to 'src/unittests/gui/widgets/browserbox.cc')
-rw-r--r--src/unittests/gui/widgets/browserbox.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unittests/gui/widgets/browserbox.cc b/src/unittests/gui/widgets/browserbox.cc
index 128c7a52c..8f97a6984 100644
--- a/src/unittests/gui/widgets/browserbox.cc
+++ b/src/unittests/gui/widgets/browserbox.cc
@@ -83,8 +83,8 @@ TEST_CASE("BrowserBox tests", "browserbox")
Dirs::initHomeDir();
ConfigManager::initConfiguration();
- getConfigDefaults2(config.getDefaultValues());
- branding.setDefaultValues(getBrandingDefaults());
+ setConfigDefaults2(config);
+ setBrandingDefaults(branding);
ActorSprite::load();
gui = new Gui();