summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setuptabscroll.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-31 21:53:50 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-31 21:53:50 +0300
commit06720edd93b51a84650e2d385a24043cc4fb932e (patch)
tree002c54e58ee0cc45feca1fc00b64808b46861f35 /src/gui/widgets/tabs/setuptabscroll.cpp
parente8f29b1cff5360c9d16587b91d72863af4763d08 (diff)
downloadmanaplus-06720edd93b51a84650e2d385a24043cc4fb932e.tar.gz
manaplus-06720edd93b51a84650e2d385a24043cc4fb932e.tar.bz2
manaplus-06720edd93b51a84650e2d385a24043cc4fb932e.tar.xz
manaplus-06720edd93b51a84650e2d385a24043cc4fb932e.zip
Add strong typed bool enum mainconfig.
Diffstat (limited to 'src/gui/widgets/tabs/setuptabscroll.cpp')
-rw-r--r--src/gui/widgets/tabs/setuptabscroll.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/setuptabscroll.cpp b/src/gui/widgets/tabs/setuptabscroll.cpp
index 11c7afd61..14323c3ad 100644
--- a/src/gui/widgets/tabs/setuptabscroll.cpp
+++ b/src/gui/widgets/tabs/setuptabscroll.cpp
@@ -130,7 +130,7 @@ void SetupTabScroll::externalUpdated()
iter != iter_end; ++ iter)
{
SetupItem *const widget = (*iter).second;
- if (widget && !widget->isMainConfig())
+ if (widget && widget->isMainConfig() == MainConfig_false)
widget->externalUpdated((*iter).first);
}
}
@@ -142,7 +142,7 @@ void SetupTabScroll::externalUnloaded()
iter != iter_end; ++ iter)
{
SetupItem *const widget = (*iter).second;
- if (widget && !widget->isMainConfig())
+ if (widget && widget->isMainConfig() == MainConfig_false)
widget->externalUnloaded((*iter).first);
}
}