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/gui/widgets/listbox.cpp | |
parent | 916a3d76da98d078a807044c43d1a70bc146ba70 (diff) | |
download | plus-003043714367009efaf07015cc63a901ae2ee47c.tar.gz plus-003043714367009efaf07015cc63a901ae2ee47c.tar.bz2 plus-003043714367009efaf07015cc63a901ae2ee47c.tar.xz plus-003043714367009efaf07015cc63a901ae2ee47c.zip |
Remove default parameters from theme.
Diffstat (limited to 'src/gui/widgets/listbox.cpp')
-rw-r--r-- | src/gui/widgets/listbox.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/widgets/listbox.cpp b/src/gui/widgets/listbox.cpp index eabf26e19..dcb0c4c9c 100644 --- a/src/gui/widgets/listbox.cpp +++ b/src/gui/widgets/listbox.cpp @@ -118,7 +118,12 @@ ListBox::ListBox(const Widget2 *const widget, mForegroundColor2 = getThemeColor(ThemeColorId::LISTBOX_OUTLINE, 255U); if (theme != nullptr) - mSkin = theme->load(skin, "listbox.xml"); + { + mSkin = theme->load(skin, + "listbox.xml", + true, + theme->getThemePath()); + } if (mSkin != nullptr) { |