summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/setupitem.cpp')
-rw-r--r--src/gui/widgets/setupitem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp
index be26265c3..2f5b2090c 100644
--- a/src/gui/widgets/setupitem.cpp
+++ b/src/gui/widgets/setupitem.cpp
@@ -848,7 +848,7 @@ SetupItemSlider2::SetupItemSlider2(const std::string &restrict text,
SetupItemNames *restrict const values,
const OnTheFly onTheFly,
const MainConfig mainConfig,
- const bool doNotAlign) :
+ const DoNotAlign doNotAlign) :
SetupItem(text, description, keyName, parent, eventName, mainConfig),
mHorizont(nullptr),
mLabel(nullptr),
@@ -879,7 +879,7 @@ SetupItemSlider2::SetupItemSlider2(const std::string &restrict text,
const std::string &restrict def,
const OnTheFly onTheFly,
const MainConfig mainConfig,
- const bool doNotAlign) :
+ const DoNotAlign doNotAlign) :
SetupItem(text, description, keyName, parent, eventName, def, mainConfig),
mHorizont(nullptr),
mLabel(nullptr),
@@ -926,7 +926,7 @@ void SetupItemSlider2::createControls()
mWidget = mSlider;
mSlider->setWidth(150);
mSlider->setHeight(40);
- if (!mDoNotAlign)
+ if (mDoNotAlign == DoNotAlign_false)
fixFirstItemSize(mLabel);
mHorizont->add(mLabel);
mHorizont->add(mSlider, -10);