diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-31 21:53:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-31 21:53:50 +0300 |
commit | 06720edd93b51a84650e2d385a24043cc4fb932e (patch) | |
tree | 002c54e58ee0cc45feca1fc00b64808b46861f35 /src/gui/widgets/tabs/setuptabscroll.cpp | |
parent | e8f29b1cff5360c9d16587b91d72863af4763d08 (diff) | |
download | manaplus-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.cpp | 4 |
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); } } |