summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-03 02:11:25 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-04 23:57:02 +0300
commit0647852f65598ef9cb9ebff6dfb508e8b1a98c1c (patch)
tree4cc9395e820e60f3d511351b78fe187e897a8c7e /src/gui/widgets/window.cpp
parentc52472123eb7847b5cee6b1898c42ef25a5466dd (diff)
downloadmanaplus-0647852f65598ef9cb9ebff6dfb508e8b1a98c1c.tar.gz
manaplus-0647852f65598ef9cb9ebff6dfb508e8b1a98c1c.tar.bz2
manaplus-0647852f65598ef9cb9ebff6dfb508e8b1a98c1c.tar.xz
manaplus-0647852f65598ef9cb9ebff6dfb508e8b1a98c1c.zip
Add support for default theme file names.
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r--src/gui/widgets/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index 3fb0649c2..bfb4d883c 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -85,7 +85,7 @@ Window::Window(const std::string &caption, bool modal, Window *parent,
// Loads the skin
if (Theme::instance())
{
- mSkin = Theme::instance()->load(skin);
+ mSkin = Theme::instance()->load(skin, "window.xml");
if (mSkin)
setPadding(mSkin->getPadding());
}