- Also pass unknown cmds to the server when in room
authorunc0rr
Fri, 25 Jan 2013 22:33:26 +0400
changeset 8436 b89aacebb9db
parent 8435 a59368bd49e7
child 8437 93b647d6a00f
- Also pass unknown cmds to the server when in room - Fix some warnings
QTfrontend/hwform.cpp
QTfrontend/model/ThemeModel.cpp
QTfrontend/net/newnetclient.cpp
--- a/QTfrontend/hwform.cpp	Fri Jan 25 14:19:55 2013 +0100
+++ b/QTfrontend/hwform.cpp	Fri Jan 25 22:33:26 2013 +0400
@@ -1259,6 +1259,8 @@
             hwnet, SLOT(infoPlayer(const QString&)));
     connect(ui.pageNetGame->chatWidget, SIGNAL(follow(const QString&)),
             hwnet, SLOT(followPlayer(const QString&)));
+    connect(ui.pageNetGame->chatWidget, SIGNAL(consoleCommand(const QString&)),
+            hwnet, SLOT(consoleCommand(const QString&)));
     connect(ui.pageRoomsList->chatWidget, SIGNAL(kick(const QString&)),
             hwnet, SLOT(kickPlayer(const QString&)));
     connect(ui.pageRoomsList->chatWidget, SIGNAL(ban(const QString&)),
--- a/QTfrontend/model/ThemeModel.cpp	Fri Jan 25 14:19:55 2013 +0100
+++ b/QTfrontend/model/ThemeModel.cpp	Fri Jan 25 22:33:26 2013 +0400
@@ -101,4 +101,4 @@
 
 
     endResetModel();
-}
\ No newline at end of file
+}
--- a/QTfrontend/net/newnetclient.cpp	Fri Jan 25 14:19:55 2013 +0100
+++ b/QTfrontend/net/newnetclient.cpp	Fri Jan 25 22:33:26 2013 +0400
@@ -1025,4 +1025,4 @@
 QAbstractItemModel *HWNewNet::roomPlayersModel()
 {
     return m_roomPlayersModel;
-}
\ No newline at end of file
+}