summaryrefslogtreecommitdiff
path: root/src/actions/chat.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-23 15:27:04 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-23 15:27:04 +0300
commit35e14007fe44877b160c48db1d4106eba6306859 (patch)
treebd3692d2c37aab8e38a2444f0cdf0f0ed5ec4232 /src/actions/chat.cpp
parentdded1355609c8f23281f78ec719b09b1693ea717 (diff)
downloadplus-35e14007fe44877b160c48db1d4106eba6306859.tar.gz
plus-35e14007fe44877b160c48db1d4106eba6306859.tar.bz2
plus-35e14007fe44877b160c48db1d4106eba6306859.tar.xz
plus-35e14007fe44877b160c48db1d4106eba6306859.zip
Move chat command /ignoreallwhispers into actions.
Diffstat (limited to 'src/actions/chat.cpp')
-rw-r--r--src/actions/chat.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp
index 9895d8388..d69895af3 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -123,6 +123,17 @@ impHandler0(closeAllChatTabs)
return false;
}
+impHandler0(ignoreAllWhispers)
+{
+ if (chatWindow)
+ {
+ chatWindow->ignoreAllWhispers();
+ chatWindow->saveState();
+ return true;
+ }
+ return false;
+}
+
impHandler0(scrollChatUp)
{
if (chatWindow && chatWindow->isWindowVisible())