summaryrefslogtreecommitdiff
path: root/src/gui/widgets/chattab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-23 22:48:57 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:17 +0300
commitd3994b21fda3e7d8ba417a382fc8f065a7bf1c52 (patch)
tree420c78c8ceda39895cce60849e3aeafedd41f081 /src/gui/widgets/chattab.cpp
parent576b7dca4676ba2c1ea63afb6bbc96fd11183048 (diff)
downloadplus-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.tar.gz
plus-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.tar.bz2
plus-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.tar.xz
plus-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.zip
improve some mode methods in Client.
Diffstat (limited to 'src/gui/widgets/chattab.cpp')
-rw-r--r--src/gui/widgets/chattab.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp
index 37e94ef1b..1cb2e9d82 100644
--- a/src/gui/widgets/chattab.cpp
+++ b/src/gui/widgets/chattab.cpp
@@ -308,8 +308,8 @@ void ChatTab::chatLog(std::string line, Own own,
if ((getAllowHighlight() || own == BY_GM)
&& (this != tabArea->getSelectedTab()
- || (Client::getIsMinimized() || (!Client::getMouseFocused()
- && !Client::getInputFocused()))))
+ || (client->getIsMinimized() || (!client->getMouseFocused()
+ && !client->getInputFocused()))))
{
if (own == BY_GM)
{
@@ -323,7 +323,7 @@ void ChatTab::chatLog(std::string line, Own own,
chatWindow->unHideWindow();
playNewMessageSound();
}
- Client::newChatMessage();
+ client->newChatMessage();
}
}
}