Signals/callbacks when spectators join or leave.
This commit is contained in:
@@ -676,6 +676,7 @@ gameTableImpl::gameTableImpl(ConfigFile *c, QMainWindow *parent)
|
||||
connect(this, SIGNAL(signalEndVoteOnKick()), this, SLOT(endVoteOnKick()));
|
||||
|
||||
connect(this, SIGNAL(signalNetClientPlayerLeft(unsigned)), this, SLOT(netClientPlayerLeft(unsigned)));
|
||||
connect(this, SIGNAL(signalNetClientSpectatorLeft(unsigned)), this, SLOT(netClientSpectatorLeft(unsigned)));
|
||||
|
||||
#ifdef GUI_800x480
|
||||
connect( tabsButton, SIGNAL( clicked() ), this, SLOT( tabsButtonClicked() ) );
|
||||
@@ -4299,6 +4300,11 @@ void gameTableImpl::netClientPlayerLeft(unsigned /*playerId*/)
|
||||
}
|
||||
}
|
||||
|
||||
void gameTableImpl::netClientSpectatorLeft(unsigned /*playerId*/)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
void gameTableImpl::registeredUserMode()
|
||||
{
|
||||
#ifdef GUI_800x480
|
||||
|
||||
Reference in New Issue
Block a user