Fixed some compiler warnings.

This commit is contained in:
lotodore
2007-11-07 14:11:57 +00:00
parent abdd751944
commit 5f5a3d90f5
5 changed files with 8 additions and 7 deletions
@@ -72,8 +72,9 @@ void startNetworkGameDialogImpl::joinedNetworkGame(unsigned playerId, QString pl
addConnectedPlayer(playerId, playerName, rights);
}
void startNetworkGameDialogImpl::addConnectedPlayer(unsigned playerId, QString playerName, int rights) {
void startNetworkGameDialogImpl::addConnectedPlayer(unsigned playerId, QString playerName, int /*rights*/) {
// TODO mark admin
QTreeWidgetItem *item = new QTreeWidgetItem(treeWidget, 0);
item->setData(0, Qt::UserRole, playerId);
item->setData(0, Qt::DisplayRole, playerName);