summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-11 01:00:01 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-11 01:00:01 +0300
commit2f768a34f72560ee8b2934228f548a4909533887 (patch)
tree0849395dea15a851fcec1a6236c29648cb41add7 /src/gui/windows/chatwindow.cpp
parent05edba87ab0dae7ac4480c86655afe59cd1dd3bd (diff)
downloadplus-2f768a34f72560ee8b2934228f548a4909533887.tar.gz
plus-2f768a34f72560ee8b2934228f548a4909533887.tar.bz2
plus-2f768a34f72560ee8b2934228f548a4909533887.tar.xz
plus-2f768a34f72560ee8b2934228f548a4909533887.zip
Rename player_relations into playerRelations.
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r--src/gui/windows/chatwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index 88d4d3fc5..80c24af0a 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -636,10 +636,10 @@ void ChatWindow::ignoreAllWhispers()
WhisperTab *const tab = iter->second;
if (tab != nullptr)
{
- if (player_relations.getRelation(tab->getNick())
+ if (playerRelations.getRelation(tab->getNick())
!= Relation::IGNORED)
{
- player_relations.setRelation(tab->getNick(),
+ playerRelations.setRelation(tab->getNick(),
Relation::IGNORED);
}
tab->handleCommand("close", "");
@@ -1200,7 +1200,7 @@ WhisperTab *ChatWindow::addWhisperTab(const std::string &caption,
else
{
ret = new WhisperTab(this, caption, nick);
- if ((gui != nullptr) && !player_relations.isGoodName(nick))
+ if ((gui != nullptr) && !playerRelations.isGoodName(nick))
ret->setLabelFont(gui->getSecureFont());
mWhispers[tempNick] = ret;
if (config.getBoolValue("showChatHistory"))