From 003043714367009efaf07015cc63a901ae2ee47c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Dec 2017 03:30:58 +0300 Subject: Remove default parameters from theme. --- src/gui/widgets/textpreview.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets/textpreview.cpp') diff --git a/src/gui/widgets/textpreview.cpp b/src/gui/widgets/textpreview.cpp index 4d90f1f9c..3feaf08c0 100644 --- a/src/gui/widgets/textpreview.cpp +++ b/src/gui/widgets/textpreview.cpp @@ -56,7 +56,12 @@ TextPreview::TextPreview(const Widget2 *const widget, if (instances == 0) { if (theme != nullptr) - mSkin = theme->load("textpreview.xml", ""); + { + mSkin = theme->load("textpreview.xml", + "", + true, + theme->getThemePath()); + } } instances++; -- cgit v1.2.3-70-g09d2