diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-03 02:11:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-04 23:57:02 +0300 |
commit | 0647852f65598ef9cb9ebff6dfb508e8b1a98c1c (patch) | |
tree | 4cc9395e820e60f3d511351b78fe187e897a8c7e /src/gui/widgets/tab.cpp | |
parent | c52472123eb7847b5cee6b1898c42ef25a5466dd (diff) | |
download | manaverse-0647852f65598ef9cb9ebff6dfb508e8b1a98c1c.tar.gz manaverse-0647852f65598ef9cb9ebff6dfb508e8b1a98c1c.tar.bz2 manaverse-0647852f65598ef9cb9ebff6dfb508e8b1a98c1c.tar.xz manaverse-0647852f65598ef9cb9ebff6dfb508e8b1a98c1c.zip |
Add support for default theme file names.
Diffstat (limited to 'src/gui/widgets/tab.cpp')
-rw-r--r-- | src/gui/widgets/tab.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/tab.cpp b/src/gui/widgets/tab.cpp index 3faa874ca..81b43445c 100644 --- a/src/gui/widgets/tab.cpp +++ b/src/gui/widgets/tab.cpp @@ -102,7 +102,10 @@ void Tab::init() if (Theme::instance()) { for (int mode = 0; mode < TAB_COUNT; mode ++) - Theme::instance()->loadRect(tabImg[mode], data[mode]); + { + Theme::instance()->loadRect(tabImg[mode], + data[mode], "tab.xml"); + } } updateAlpha(); } |