Fix some compiler warnings.

This commit is contained in:
lotodore
2010-10-11 15:44:56 +00:00
parent 2c558daf9e
commit 972f678730
5 changed files with 12 additions and 12 deletions
@@ -1434,7 +1434,7 @@ void gameLobbyDialogImpl::showNickListContextMenu(QPoint p)
if(myNickListModel->rowCount() && myNickListSelectionModel->currentIndex().isValid()) {
assert(mySession);
int playerUid = myNickListSelectionModel->currentIndex().data(Qt::UserRole).toUInt();
unsigned playerUid = myNickListSelectionModel->currentIndex().data(Qt::UserRole).toUInt();
if(inGame && mySession->getClientGameInfo(mySession->getClientCurrentGameId()).data.gameType == GAME_TYPE_INVITE_ONLY && playerUid != mySession->getClientUniquePlayerId() && !mySession->getClientPlayerInfo(playerUid).isGuest) {
+1 -1
View File
@@ -860,8 +860,8 @@ QString GameTableStyleReader::getActionPic(int action)
return ActionWinnerI18NPic;
}
break;
default: return QString("");
}
return QString("");
}
void GameTableStyleReader::setButtonsStyle(MyActionButton *br, MyActionButton *cc, MyActionButton *f, MyActionButton *a, int state)