summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-27 17:20:34 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-27 17:20:34 +0300
commite1233ab2508be02b0bd59c90f42b1c3406b60564 (patch)
tree17eaec58892287d214a1c86aee18fdfdd0448f1c /src/actions
parent2363866d00316240e025ebf479536ac68510d4b4 (diff)
downloadplus-e1233ab2508be02b0bd59c90f42b1c3406b60564.tar.gz
plus-e1233ab2508be02b0bd59c90f42b1c3406b60564.tar.bz2
plus-e1233ab2508be02b0bd59c90f42b1c3406b60564.tar.xz
plus-e1233ab2508be02b0bd59c90f42b1c3406b60564.zip
Remove copy to clipboard action in chat popup.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/chat.cpp13
-rw-r--r--src/actions/chat.h1
2 files changed, 14 insertions, 0 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp
index 9d9be4279..62213c5cc 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -604,4 +604,17 @@ impHandler(hat)
return true;
}
+impHandler(chatClipboard)
+{
+ int x = 0;
+ int y = 0;
+
+ if (chatWindow && parse2Int(event.args, x, y))
+ {
+ chatWindow->copyToClipboard(x, y);
+ return true;
+ }
+ return false;
+}
+
} // namespace Actions
diff --git a/src/actions/chat.h b/src/actions/chat.h
index 3a433e49a..158de5580 100644
--- a/src/actions/chat.h
+++ b/src/actions/chat.h
@@ -59,6 +59,7 @@ namespace Actions
decHandler(chatPartyTab);
decHandler(chatGuildTab);
decHandler(hat);
+ decHandler(chatClipboard);
} // namespace Actions
#undef decHandler