diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-12 16:44:38 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-12 16:44:38 -0700 |
commit | 9eb240c821d75292ed02c64246d83558c8b84324 (patch) | |
tree | 4f920fae6ab77ef02fd736136ece8077a1eb585b /src/gui/setup_players.cpp | |
parent | 8e387c0a6992baa503797b6448bbccfc1d426447 (diff) | |
download | mana-9eb240c821d75292ed02c64246d83558c8b84324.tar.gz mana-9eb240c821d75292ed02c64246d83558c8b84324.tar.bz2 mana-9eb240c821d75292ed02c64246d83558c8b84324.tar.xz mana-9eb240c821d75292ed02c64246d83558c8b84324.zip |
Updated the po files so that they shouldn't generate errors for us any
more, as well as a few more code style fixes.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/setup_players.cpp')
-rw-r--r-- | src/gui/setup_players.cpp | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/gui/setup_players.cpp b/src/gui/setup_players.cpp index 0f52be41..0e960b84 100644 --- a/src/gui/setup_players.cpp +++ b/src/gui/setup_players.cpp @@ -281,8 +281,7 @@ Setup_Players::~Setup_Players(void) } -void -Setup_Players::reset() +void Setup_Players::reset() { // We now have to search through the list of ignore choices to find the // current selection. We could use an index into the table of config @@ -299,8 +298,7 @@ Setup_Players::reset() mIgnoreActionChoicesBox->setSelected(selection); } -void -Setup_Players::apply() +void Setup_Players::apply() { player_relations.setPersistIgnores(mPersistIgnores->isSelected()); player_relations.store(); @@ -312,13 +310,11 @@ Setup_Players::apply() | (mDefaultWhisper->isSelected()? PlayerRelation::WHISPER : 0)); } -void -Setup_Players::cancel() +void Setup_Players::cancel() { } -void -Setup_Players::action(const gcn::ActionEvent &event) +void Setup_Players::action(const gcn::ActionEvent &event) { if (event.getId() == ACTION_TABLE) { // temporarily eliminate ourselves: we are fully aware of this change, @@ -352,8 +348,7 @@ Setup_Players::action(const gcn::ActionEvent &event) } } -void -Setup_Players::updatedPlayer(const std::string &name) +void Setup_Players::updatedPlayer(const std::string &name) { mPlayerTableModel->playerRelationsUpdated(); mDefaultTrading->setSelected( |