diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-22 01:25:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-22 01:25:40 +0300 |
commit | ff822e5f34d2beb6d3e6928ace5bc725d1fe147d (patch) | |
tree | 4939678edf8269a7a4a747e0a470a7c008bd4f5e /src/gui/widgets/setuptabscroll.cpp | |
parent | e1e0f38ec31e38cd168a0892b922ce96ef674c33 (diff) | |
download | manaplus-ff822e5f34d2beb6d3e6928ace5bc725d1fe147d.tar.gz manaplus-ff822e5f34d2beb6d3e6928ace5bc725d1fe147d.tar.bz2 manaplus-ff822e5f34d2beb6d3e6928ace5bc725d1fe147d.tar.xz manaplus-ff822e5f34d2beb6d3e6928ace5bc725d1fe147d.zip |
Fix code style.
Diffstat (limited to 'src/gui/widgets/setuptabscroll.cpp')
-rw-r--r-- | src/gui/widgets/setuptabscroll.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/widgets/setuptabscroll.cpp b/src/gui/widgets/setuptabscroll.cpp index ece4fef8f..c3fd4dee8 100644 --- a/src/gui/widgets/setuptabscroll.cpp +++ b/src/gui/widgets/setuptabscroll.cpp @@ -61,7 +61,7 @@ SetupTabScroll::~SetupTabScroll() void SetupTabScroll::addControl(SetupItem *widget) { - std::map<std::string,SetupItem*>::iterator iter + std::map<std::string, SetupItem*>::iterator iter = mItems.find(widget->getActionEventId()); if (iter != mItems.end()) { @@ -74,7 +74,7 @@ void SetupTabScroll::addControl(SetupItem *widget) void SetupTabScroll::addControl(SetupItem *widget, std::string event) { - std::map<std::string,SetupItem*>::iterator iter + std::map<std::string, SetupItem*>::iterator iter = mItems.find(event); if (iter != mItems.end()) { @@ -87,21 +87,21 @@ void SetupTabScroll::addControl(SetupItem *widget, std::string event) void SetupTabScroll::apply() { - std::map<std::string,SetupItem*>::iterator iter; + std::map<std::string, SetupItem*>::iterator iter; for (iter = mItems.begin(); iter != mItems.end(); ++ iter) (*iter).second->apply((*iter).first); } void SetupTabScroll::cancel() { - std::map<std::string,SetupItem*>::iterator iter; + std::map<std::string, SetupItem*>::iterator iter; for (iter = mItems.begin(); iter != mItems.end(); ++ iter) (*iter).second->cancel((*iter).first); } void SetupTabScroll::externalUpdated() { - std::map<std::string,SetupItem*>::iterator iter; + std::map<std::string, SetupItem*>::iterator iter; for (iter = mItems.begin(); iter != mItems.end(); ++ iter) { SetupItem *widget = (*iter).second; |