Remove old signal-slot conenctions
authorunc0rr
Wed, 10 Oct 2012 23:58:23 +0400
changeset 7743 dc41e9222d2c
parent 7742 e5e529dcc9bb
child 7744 75e1d0c0ba72
Remove old signal-slot conenctions
QTfrontend/hwform.cpp
QTfrontend/ui/widget/chatwidget.cpp
--- a/QTfrontend/hwform.cpp	Wed Oct 10 23:55:09 2012 +0400
+++ b/QTfrontend/hwform.cpp	Wed Oct 10 23:58:23 2012 +0400
@@ -1110,18 +1110,6 @@
 // net page stuff
     connect(hwnet, SIGNAL(chatStringFromNet(const QString&)),
             ui.pageNetGame->pChatWidget, SLOT(onChatString(const QString&)), Qt::QueuedConnection);
-    connect(hwnet, SIGNAL(setReadyStatus(const QString &, bool)),
-            ui.pageNetGame->pChatWidget, SLOT(setReadyStatus(const QString &, bool)), Qt::QueuedConnection);
-    connect(hwnet, SIGNAL(setAdminStatus(const QString &, bool)),
-            ui.pageNetGame->pChatWidget, SLOT(setAdminStatus(const QString &, bool)), Qt::QueuedConnection);
-    connect(hwnet, SIGNAL(setAdminStatus(const QString &, bool)),
-            ui.pageRoomsList->chatWidget, SLOT(setAdminStatus(const QString &, bool)), Qt::QueuedConnection);
-    connect(hwnet, SIGNAL(setRoomMasterStatus(const QString &, bool)),
-            ui.pageNetGame->pChatWidget, SLOT(setRoomMasterStatus(const QString &, bool)), Qt::QueuedConnection);
-    connect(hwnet, SIGNAL(setRegisteredStatus(const QStringList &, bool)),
-            ui.pageNetGame->pChatWidget, SLOT(setRegisteredStatus(const QStringList &, bool)), Qt::QueuedConnection);
-    connect(hwnet, SIGNAL(setRegisteredStatus(const QStringList &, bool)),
-            ui.pageRoomsList->chatWidget, SLOT(setRegisteredStatus(const QStringList &, bool)), Qt::QueuedConnection);
 
     connect(hwnet, SIGNAL(chatStringFromMe(const QString&)),
             ui.pageNetGame->pChatWidget, SLOT(onChatString(const QString&)), Qt::QueuedConnection);
--- a/QTfrontend/ui/widget/chatwidget.cpp	Wed Oct 10 23:55:09 2012 +0400
+++ b/QTfrontend/ui/widget/chatwidget.cpp	Wed Oct 10 23:58:23 2012 +0400
@@ -828,9 +828,6 @@
 
     chatNicks->setModel(model);
     chatNicks->setModelColumn(0);
-
-    connect(chatNicks->selectionModel(), SIGNAL(currentRowChanged(QModelIndex,QModelIndex)),
-            this, SLOT(chatNickSelected()));
 }
 
 void HWChatWidget::nicksContextMenuRequested(const QPoint &pos)