diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-27 03:30:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-27 03:30:58 +0300 |
commit | 003043714367009efaf07015cc63a901ae2ee47c (patch) | |
tree | f441091a46ac07419977a0dba4cfd6b5ceab667b /src/test | |
parent | 916a3d76da98d078a807044c43d1a70bc146ba70 (diff) | |
download | mv-003043714367009efaf07015cc63a901ae2ee47c.tar.gz mv-003043714367009efaf07015cc63a901ae2ee47c.tar.bz2 mv-003043714367009efaf07015cc63a901ae2ee47c.tar.xz mv-003043714367009efaf07015cc63a901ae2ee47c.zip |
Remove default parameters from theme.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/testlauncher.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp index d5df688a7..841ca4094 100644 --- a/src/test/testlauncher.cpp +++ b/src/test/testlauncher.cpp @@ -734,7 +734,10 @@ int TestLauncher::testDraw() img[0] = Theme::getImageFromTheme("graphics/sprites/arrow_left.png"); img[1] = Theme::getImageFromTheme("graphics/sprites/arrow_right.png"); img[2] = Theme::getImageFromTheme("graphics/sprites/arrow_up.png"); - Skin *skin = theme->load("button.xml", "button.xml"); + Skin *skin = theme->load("button.xml", + "button.xml", + true, + theme->getThemePath()); if (skin == nullptr) return 0; |