diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-30 17:45:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-30 17:45:27 +0300 |
commit | aadf40739c45c3396ace5766dd9c60db0c3b1ccc (patch) | |
tree | a6d2ca5fb86849ae18586b728bfcd9e716f5635f /src/gui/models | |
parent | 2a33b736dc93251bf7a72364c5f818142362a3ce (diff) | |
download | plus-aadf40739c45c3396ace5766dd9c60db0c3b1ccc.tar.gz plus-aadf40739c45c3396ace5766dd9c60db0c3b1ccc.tar.bz2 plus-aadf40739c45c3396ace5766dd9c60db0c3b1ccc.tar.xz plus-aadf40739c45c3396ace5766dd9c60db0c3b1ccc.zip |
Move relation enum into separate file.
Diffstat (limited to 'src/gui/models')
-rw-r--r-- | src/gui/models/playertablemodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/models/playertablemodel.cpp b/src/gui/models/playertablemodel.cpp index f83a67707..4affed712 100644 --- a/src/gui/models/playertablemodel.cpp +++ b/src/gui/models/playertablemodel.cpp @@ -123,7 +123,7 @@ void PlayerTableModel::updateModelInRow(const int row) const const DropDown *const choicebox = static_cast<DropDown *>( getElementAt(row, RELATION_CHOICE_COLUMN)); player_relations.setRelation(getPlayerAt(row), - static_cast<PlayerRelation::Relation>( + static_cast<RelationT>( choicebox->getSelected())); } |