Fix some compiler warnings.
This commit is contained in:
@@ -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) {
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user