summaryrefslogtreecommitdiff
path: root/src/gui/widgets/checkbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-10 11:50:29 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-10 11:50:29 +0300
commit201376c3f5858ab5432cf849d5474e037c071393 (patch)
tree6d564d943c0b58bf31cc35a41159601c98bfcbb8 /src/gui/widgets/checkbox.cpp
parent03879469c21e64aa2c8a8fe5c5102ce1a7ed1629 (diff)
downloadmv-201376c3f5858ab5432cf849d5474e037c071393.tar.gz
mv-201376c3f5858ab5432cf849d5474e037c071393.tar.bz2
mv-201376c3f5858ab5432cf849d5474e037c071393.tar.xz
mv-201376c3f5858ab5432cf849d5474e037c071393.zip
fix code style.
Diffstat (limited to 'src/gui/widgets/checkbox.cpp')
-rw-r--r--src/gui/widgets/checkbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp
index 552eb98fb..552d98c72 100644
--- a/src/gui/widgets/checkbox.cpp
+++ b/src/gui/widgets/checkbox.cpp
@@ -48,7 +48,8 @@ CheckBox::CheckBox(const Widget2 *const widget,
mPadding(0),
mImagePadding(0),
mImageSize(9),
- mSpacing(2)
+ mSpacing(2),
+ mForegroundColor(getThemeColor(Theme::CHECKBOX_OUTLINE))
{
if (instances == 0)
{
@@ -68,7 +69,6 @@ CheckBox::CheckBox(const Widget2 *const widget,
addActionListener(listener);
mForegroundColor = getThemeColor(Theme::CHECKBOX);
- mForegroundColor2 = getThemeColor(Theme::CHECKBOX_OUTLINE);
if (mSkin)
{
mPadding = mSkin->getPadding();