summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/tab.cpp
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/gui/widgets/tabs/tab.cpp
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/gui/widgets/tabs/tab.cpp')
-rw-r--r--src/gui/widgets/tabs/tab.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/tab.cpp b/src/gui/widgets/tabs/tab.cpp
index 88fe5d54f..9dc6c4068 100644
--- a/src/gui/widgets/tabs/tab.cpp
+++ b/src/gui/widgets/tabs/tab.cpp
@@ -165,7 +165,12 @@ void Tab::init()
if (theme != nullptr)
{
for (int mode = 0; mode < TAB_COUNT; mode ++)
- tabImg[mode] = theme->load(data[mode], "tab.xml");
+ {
+ tabImg[mode] = theme->load(data[mode],
+ "tab.xml",
+ true,
+ theme->getThemePath());
+ }
}
updateAlpha();
}