summaryrefslogtreecommitdiff
path: root/src/gui/setup_relations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setup_relations.cpp')
-rw-r--r--src/gui/setup_relations.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/setup_relations.cpp b/src/gui/setup_relations.cpp
index e57a74561..05f6ecb26 100644
--- a/src/gui/setup_relations.cpp
+++ b/src/gui/setup_relations.cpp
@@ -160,7 +160,7 @@ public:
gcn::Widget *const widget = new Label(name);
mWidgets.push_back(widget);
- gcn::DropDown *const choicebox = new DropDown(mListModel);
+ DropDown *const choicebox = new DropDown(mListModel);
choicebox->setSelected(player_relations.getRelation(name));
mWidgets.push_back(choicebox);
}
@@ -170,7 +170,7 @@ public:
virtual void updateModelInRow(const int row)
{
- const gcn::DropDown *const choicebox = static_cast<gcn::DropDown *>(
+ const DropDown *const choicebox = static_cast<DropDown *>(
getElementAt(row, RELATION_CHOICE_COLUMN));
player_relations.setRelation(getPlayerAt(row),
static_cast<PlayerRelation::Relation>(