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/playerbox.cpp | |
parent | c52472123eb7847b5cee6b1898c42ef25a5466dd (diff) | |
download | mv-0647852f65598ef9cb9ebff6dfb508e8b1a98c1c.tar.gz mv-0647852f65598ef9cb9ebff6dfb508e8b1a98c1c.tar.bz2 mv-0647852f65598ef9cb9ebff6dfb508e8b1a98c1c.tar.xz mv-0647852f65598ef9cb9ebff6dfb508e8b1a98c1c.zip |
Add support for default theme file names.
Diffstat (limited to 'src/gui/widgets/playerbox.cpp')
-rw-r--r-- | src/gui/widgets/playerbox.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/playerbox.cpp b/src/gui/widgets/playerbox.cpp index 423f26563..b9f6657a9 100644 --- a/src/gui/widgets/playerbox.cpp +++ b/src/gui/widgets/playerbox.cpp @@ -73,7 +73,8 @@ void PlayerBox::init(std::string skin) { if (skin.empty()) skin = "playerbox_background.xml"; - mSkin = Theme::instance()->loadSkinRect(mBackground, skin); + mSkin = Theme::instance()->loadSkinRect(mBackground, + skin, "background.xml"); if (mSkin) mDrawBackground = (mSkin->getOption("drawbackground") != 0); } |