diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-11 00:46:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-11 00:46:34 +0300 |
commit | 632c1797013d8b0a987ab68341b50354afdb1f9d (patch) | |
tree | fda998f25feac4696058c8c1a14e430dceac66d6 /src/gui/widgets/window.cpp | |
parent | ee39f800bd1809b25cc7c05238e2fa7abccd8ab3 (diff) | |
download | manaverse-632c1797013d8b0a987ab68341b50354afdb1f9d.tar.gz manaverse-632c1797013d8b0a987ab68341b50354afdb1f9d.tar.bz2 manaverse-632c1797013d8b0a987ab68341b50354afdb1f9d.tar.xz manaverse-632c1797013d8b0a987ab68341b50354afdb1f9d.zip |
Add support for padding in theme configuration files.
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r-- | src/gui/widgets/window.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index 1ffbac31e..2d4c443c6 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -86,6 +86,8 @@ Window::Window(const std::string &caption, bool modal, Window *parent, if (Theme::instance()) { mSkin = Theme::instance()->load(skin); + if (mSkin) + setPadding(mSkin->getPadding()); } else { |