summaryrefslogtreecommitdiff
path: root/src/gui/setup_players.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-10-21 20:54:54 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-10-23 10:55:29 +0200
commit9c5791d3e3b413d8b703f1530f67de8936a3434c (patch)
treedd718ab5e09a0128f94509fed3c8b241c23e8dfa /src/gui/setup_players.cpp
parent659b1eac4fc9e733fcfd233020bac78701c30640 (diff)
downloadmana-9c5791d3e3b413d8b703f1530f67de8936a3434c.tar.gz
mana-9c5791d3e3b413d8b703f1530f67de8936a3434c.tar.bz2
mana-9c5791d3e3b413d8b703f1530f67de8936a3434c.tar.xz
mana-9c5791d3e3b413d8b703f1530f67de8936a3434c.zip
Fixed a certain class of Doxygen warnings
All cases of documentation for non-existing parameters are now fixed. Also marked a few getters as 'const', removed some superfluous 'inline' keywords and removed the unused 'forceQuantity' option from ItemContainer. Reviewed-by: Yohann Ferreira
Diffstat (limited to 'src/gui/setup_players.cpp')
-rw-r--r--src/gui/setup_players.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/setup_players.cpp b/src/gui/setup_players.cpp
index 6fab8bd2..e9faaf3a 100644
--- a/src/gui/setup_players.cpp
+++ b/src/gui/setup_players.cpp
@@ -131,15 +131,14 @@ public:
signalBeforeUpdate();
freeWidgets();
- std::vector<std::string> *player_names = player_relations.getPlayers();
if (mPlayers)
delete mPlayers;
- mPlayers = player_names;
+ mPlayers = player_relations.getPlayers();
// set up widgets
- for (unsigned int r = 0; r < player_names->size(); ++r)
+ for (unsigned int r = 0; r < mPlayers->size(); ++r)
{
- std::string name = (*player_names)[r];
+ std::string name = (*mPlayers)[r];
gcn::Widget *widget = new Label(name);
mWidgets.push_back(widget);