summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-27 03:30:58 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-27 03:30:58 +0300
commit003043714367009efaf07015cc63a901ae2ee47c (patch)
treef441091a46ac07419977a0dba4cfd6b5ceab667b /src/progs
parent916a3d76da98d078a807044c43d1a70bc146ba70 (diff)
downloadmanaplus-003043714367009efaf07015cc63a901ae2ee47c.tar.gz
manaplus-003043714367009efaf07015cc63a901ae2ee47c.tar.bz2
manaplus-003043714367009efaf07015cc63a901ae2ee47c.tar.xz
manaplus-003043714367009efaf07015cc63a901ae2ee47c.zip
Remove default parameters from theme.
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/dyecmd/client.cpp5
-rw-r--r--src/progs/manaplus/client.cpp5
2 files changed, 8 insertions, 2 deletions
diff --git a/src/progs/dyecmd/client.cpp b/src/progs/dyecmd/client.cpp
index 631469f2b..7046be25d 100644
--- a/src/progs/dyecmd/client.cpp
+++ b/src/progs/dyecmd/client.cpp
@@ -351,7 +351,10 @@ void Client::gameInit()
#endif // USE_SDL2
#endif // ANDROID
- mSkin = theme->load("windowmenu.xml", "");
+ mSkin = theme->load("windowmenu.xml",
+ "",
+ true,
+ theme->getThemePath());
if (mSkin != nullptr)
{
mButtonPadding = mSkin->getPadding();
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp
index 65d5fde89..380453c19 100644
--- a/src/progs/manaplus/client.cpp
+++ b/src/progs/manaplus/client.cpp
@@ -531,7 +531,10 @@ void Client::gameInit()
mumbleManager = new MumbleManager;
#endif // USE_MUMBLE
- mSkin = theme->load("windowmenu.xml", "");
+ mSkin = theme->load("windowmenu.xml",
+ "",
+ true,
+ theme->getThemePath());
if (mSkin != nullptr)
{
mButtonPadding = mSkin->getPadding();