diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-29 03:51:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-29 03:52:16 +0300 |
commit | 3bf4e26b1319295532bb4396cbd6406d85cbcae0 (patch) | |
tree | 80a4303b29aafa21683e90e45798283a482bf1d1 /src/gui/setup_relations.cpp | |
parent | 7f607a0f58a9eba53237955c06bf445c71d57b6c (diff) | |
download | manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.gz manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.bz2 manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.xz manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.zip |
Replace vectors with strings to short names.
Diffstat (limited to 'src/gui/setup_relations.cpp')
-rw-r--r-- | src/gui/setup_relations.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gui/setup_relations.cpp b/src/gui/setup_relations.cpp index d9f7a362d..d685cf6f5 100644 --- a/src/gui/setup_relations.cpp +++ b/src/gui/setup_relations.cpp @@ -42,9 +42,6 @@ #include "utils/dtor.h" #include "utils/gettext.h" -#include <string> -#include <vector> - #define COLUMNS_NR 2 // name plus listbox #define NAME_COLUMN 0 #define RELATION_CHOICE_COLUMN 1 @@ -146,7 +143,7 @@ public: signalBeforeUpdate(); freeWidgets(); - std::vector<std::string> *player_names = player_relations.getPlayers(); + StringVect *player_names = player_relations.getPlayers(); if (!player_names) return; @@ -201,7 +198,7 @@ public: } protected: - std::vector<std::string> *mPlayers; + StringVect *mPlayers; std::vector<gcn::Widget *> mWidgets; PlayerRelationListModel *mListModel; }; |