QTfrontend/game.cpp
branchqmlfrontend
changeset 11408 b894922d58cc
parent 11344 b0df3f2fcafc
child 11893 618d99523933
--- a/QTfrontend/game.cpp	Tue Sep 08 19:20:58 2015 +0300
+++ b/QTfrontend/game.cpp	Mon Nov 16 22:57:24 2015 +0300
@@ -17,7 +17,6 @@
  */
 
 #include <QApplication>
-#include <QClipboard>
 
 #include <QString>
 #include <QCheckBox>
@@ -261,18 +260,6 @@
                 .arg(QString::fromUtf8(msg.mid(2).left(size - 4))));
             return;
         }
-        case 'y':
-        {
-            // copy string to clipboard
-            QApplication::clipboard()->setText(QString::fromUtf8(msg.mid(2)));
-            break;
-        }
-        case 'Y':
-        {
-            // paste clipboard to game
-            SendIPC(QString("Y").toAscii() + QApplication::clipboard()->text().toUtf8().left(250).replace('\n', ' '));
-            break;
-        }
         case 'i':
         {
             emit GameStats(msg.at(2), QString::fromUtf8(msg.mid(3)));