summaryrefslogtreecommitdiff
path: root/src/gui/outfitwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/outfitwindow.cpp')
-rw-r--r--src/gui/outfitwindow.cpp7
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);