--- a/QTfrontend/net/newnetclient.cpp Sat Oct 20 22:43:25 2012 -0400
+++ b/QTfrontend/net/newnetclient.cpp Sun Oct 21 16:38:54 2012 +0400
@@ -395,14 +395,12 @@
if (isChief && !setFlag) ToggleReady();
else emit setMyReadyStatus(setFlag);
}
- emit setReadyStatus(nick, setFlag);
m_playersModel->setFlag(nick, PlayersListModel::Ready, setFlag);
}
break;
// flag indicating if a player is a registered user
case 'u':
- emit setRegisteredStatus(nicks, setFlag);
foreach(const QString & nick, nicks)
m_playersModel->setFlag(nick, PlayersListModel::Registered, setFlag);
break;
@@ -422,7 +420,6 @@
emit roomMaster(isChief);
}
- emit setRoomMasterStatus(nick, setFlag);
m_playersModel->setFlag(nick, PlayersListModel::RoomAdmin, setFlag);
}
break;
@@ -434,7 +431,6 @@
if (nick == mynick)
emit adminAccess(setFlag);
- emit setAdminStatus(nick, setFlag);
m_playersModel->setFlag(nick, PlayersListModel::ServerAdmin, setFlag);
}
break;
--- a/QTfrontend/net/newnetclient.h Sat Oct 20 22:43:25 2012 -0400
+++ b/QTfrontend/net/newnetclient.h Sun Oct 21 16:38:54 2012 +0400
@@ -145,11 +145,7 @@
void serverMessageOld(const QString &);
void latestProtocolVar(int);
- void setReadyStatus(const QString & nick, bool isReady);
void setMyReadyStatus(bool isReady);
- void setAdminStatus(const QString & nick, bool isAdmin);
- void setRoomMasterStatus(const QString & nick, bool isAdmin);
- void setRegisteredStatus(const QStringList & nicks, bool isRegistered);
public slots:
void ToggleReady();