gui part for #239 server ping state display
This commit is contained in:
@@ -681,7 +681,7 @@ gameTableImpl::gameTableImpl(ConfigFile *c, QMainWindow *parent)
|
||||
connect(this, SIGNAL(signalNetClientPlayerLeft(unsigned)), this, SLOT(netClientPlayerLeft(unsigned)));
|
||||
connect(this, SIGNAL(signalNetClientSpectatorLeft(unsigned)), this, SLOT(netClientSpectatorLeft(unsigned)));
|
||||
connect(this, SIGNAL(signalNetClientSpectatorJoined(unsigned)), this, SLOT(netClientSpectatorJoined(unsigned)));
|
||||
|
||||
connect(this, SIGNAL(signalNetClientPingUpdate(unsigned, unsigned, unsigned)), this, SLOT(pingUpdate(unsigned, unsigned, unsigned)));
|
||||
|
||||
#ifdef GUI_800x480
|
||||
connect( tabsButton, SIGNAL( clicked() ), this, SLOT( tabsButtonClicked() ) );
|
||||
@@ -4496,3 +4496,8 @@ void gameTableImpl::refreshSpectatorsDisplay()
|
||||
}
|
||||
}
|
||||
|
||||
void gameTableImpl::pingUpdate(unsigned minPing, unsigned avgPing, unsigned maxPing)
|
||||
{
|
||||
label_Avatar0->refreshPing(minPing, avgPing, maxPing);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user