summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-20 00:15:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-20 00:15:42 +0300
commitf96919885dd0e5ae0de4a8517e76419304ca8d36 (patch)
tree2c39f6da9bd97c45d77c77f1b9ee0505f38be0e6 /src/gui
parent1dbf1cf1d87a38a327673b69c184ad662bd12cc4 (diff)
downloadmanaplus-f96919885dd0e5ae0de4a8517e76419304ca8d36.tar.gz
manaplus-f96919885dd0e5ae0de4a8517e76419304ca8d36.tar.bz2
manaplus-f96919885dd0e5ae0de4a8517e76419304ca8d36.tar.xz
manaplus-f96919885dd0e5ae0de4a8517e76419304ca8d36.zip
Fix code style.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/tabs/setup_colors.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/setup_colors.cpp b/src/gui/widgets/tabs/setup_colors.cpp
index 2ae5db874..7ba177f98 100644
--- a/src/gui/widgets/tabs/setup_colors.cpp
+++ b/src/gui/widgets/tabs/setup_colors.cpp
@@ -252,7 +252,8 @@ void Setup_Colors::valueChanged(const SelectionEvent &event A_UNUSED)
const Color *col = &userPalette->getColor(type);
const GradientTypeT grad = userPalette->getGradientType(type);
const int delay = userPalette->getGradientDelay(type);
- const Visible showControls = fromBool(grad != GradientType::LABEL, Visible);
+ const Visible showControls = fromBool(grad != GradientType::LABEL,
+ Visible);
mPreview->setVisible(showControls);
mPreviewBox->setVisible(showControls);
mTextPreview->setVisible(showControls);