minor fixes; ROE set added

This commit is contained in:
Max-Wilhelm Bruker 2010-04-16 16:15:27 +02:00
parent 57aa30ffb5
commit cb045907cb
4 changed files with 16 additions and 7 deletions

View file

@ -47,11 +47,12 @@ void PlayerListWidget::updatePlayerProperties(ServerInfo_PlayerProperties *prop)
player->setText(3, prop->getName());
QString deckText;
switch (prop->getDeckId()) {
case -2: deckText = tr("no deck"); break;
case -1: deckText = tr("local deck"); break;
default: deckText = tr("ID #%1").arg(prop->getDeckId());
}
if (!prop->getSpectator())
switch (prop->getDeckId()) {
case -2: deckText = tr("no deck"); break;
case -1: deckText = tr("local deck"); break;
default: deckText = tr("ID #%1").arg(prop->getDeckId());
}
player->setText(4, deckText);
}