diff options
Diffstat (limited to 'src/unittests/utils/translation')
-rw-r--r-- | src/unittests/utils/translation/poparser.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/unittests/utils/translation/poparser.cc b/src/unittests/utils/translation/poparser.cc index b7325b1de..84c993112 100644 --- a/src/unittests/utils/translation/poparser.cc +++ b/src/unittests/utils/translation/poparser.cc @@ -65,9 +65,6 @@ TEST_CASE("PoParser tests", "PoParser") graphicsManager.createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE); #endif // USE_SDL2 - theme = new Theme; - Theme::selectSkin(); - Dirs::initRootDir(); Dirs::initHomeDir(); @@ -75,6 +72,9 @@ TEST_CASE("PoParser tests", "PoParser") setConfigDefaults2(config); setBrandingDefaults(branding); + theme = new Theme; + Theme::selectSkin(); + ActorSprite::load(); gui = new Gui(); gui->postInit(mainGraphics); |