summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-30 17:45:27 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-30 17:45:27 +0300
commitaadf40739c45c3396ace5766dd9c60db0c3b1ccc (patch)
treea6d2ca5fb86849ae18586b728bfcd9e716f5635f /src/gui/windows/chatwindow.cpp
parent2a33b736dc93251bf7a72364c5f818142362a3ce (diff)
downloadmanaplus-aadf40739c45c3396ace5766dd9c60db0c3b1ccc.tar.gz
manaplus-aadf40739c45c3396ace5766dd9c60db0c3b1ccc.tar.bz2
manaplus-aadf40739c45c3396ace5766dd9c60db0c3b1ccc.tar.xz
manaplus-aadf40739c45c3396ace5766dd9c60db0c3b1ccc.zip
Move relation enum into separate file.
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r--src/gui/windows/chatwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index f79f8b45d..747ba498e 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -605,10 +605,10 @@ void ChatWindow::ignoreAllWhispers()
if (tab)
{
if (player_relations.getRelation(tab->getNick())
- != PlayerRelation::IGNORED)
+ != Relation::IGNORED)
{
player_relations.setRelation(tab->getNick(),
- PlayerRelation::IGNORED);
+ Relation::IGNORED);
}
tab->handleCommand("close", "");
}