summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r--src/gui/widgets/window.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index 132b3f561..3fb6c458e 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -183,7 +183,10 @@ Window::Window(const std::string &caption,
// Loads the skin
if (theme != nullptr)
{
- mSkin = theme->load(skin, "window.xml");
+ mSkin = theme->load(skin,
+ "window.xml",
+ true,
+ theme->getThemePath());
if (mSkin != nullptr)
{
setPadding(mSkin->getPadding());