Fixed some compiler warnings.

This commit is contained in:
lotodore committed 2007-11-07 14:11:57 +00:00
1 parent abdd751944
commit 5f5a3d90f5
5 files changed
+8 -7

No files matched your search

@@ -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);