diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-20 16:38:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-20 16:38:15 +0300 |
commit | 747dc30f256606e28fd932a9626da7c328114036 (patch) | |
tree | 1b3e7e70ba439d14d4936660d44c95c27816a11b /src/gui/outfitwindow.cpp | |
parent | cef2952156ab09371ed04beec00d0f1e8615ada9 (diff) | |
download | mv-747dc30f256606e28fd932a9626da7c328114036.tar.gz mv-747dc30f256606e28fd932a9626da7c328114036.tar.bz2 mv-747dc30f256606e28fd932a9626da7c328114036.tar.xz mv-747dc30f256606e28fd932a9626da7c328114036.zip |
fix style in gui directory.
Diffstat (limited to 'src/gui/outfitwindow.cpp')
-rw-r--r-- | src/gui/outfitwindow.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/outfitwindow.cpp b/src/gui/outfitwindow.cpp index dbe084c17..809b99b37 100644 --- a/src/gui/outfitwindow.cpp +++ b/src/gui/outfitwindow.cpp @@ -78,7 +78,9 @@ OutfitWindow::OutfitWindow(): mItemMoved(nullptr), mItemSelected(-1), mItemColorSelected(1), - mAwayOutfit(0) + mAwayOutfit(0), + mBorderColor(getThemeColor(Theme::BORDER, 64)), + mBackgroundColor(getThemeColor(Theme::BACKGROUND, 32)) { setWindowName("Outfits"); setResizable(true); @@ -89,9 +91,6 @@ OutfitWindow::OutfitWindow(): setMinWidth(145); setMinHeight(220); - mBorderColor = getThemeColor(Theme::BORDER, 64); - mBackgroundColor = getThemeColor(Theme::BACKGROUND, 32); - mCurrentLabel->setAlignment(gcn::Graphics::CENTER); mKeyLabel->setAlignment(gcn::Graphics::CENTER); |