diff --git a/ChangeLog b/ChangeLog index ac431f31..fadf709c 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,8 @@ -xxxx-xx-xx version 0.8.2: +2011-01-03 version 0.8.2: - Report bad avatar function to tell the admins about illegal avatar pictures (right click on players avatar on the table) - Optional add country flag to avatar feature - /me messages supported in lobby-chat now - Bugfixes (e.g. 0000022, 0000024) -- Translation updated 2010-10-09 version 0.8.1: (this is a bugfix release) diff --git a/src/gui/qt/gametable/myavatarlabel.cpp b/src/gui/qt/gametable/myavatarlabel.cpp index 41660356..5bf87191 100644 --- a/src/gui/qt/gametable/myavatarlabel.cpp +++ b/src/gui/qt/gametable/myavatarlabel.cpp @@ -52,38 +52,6 @@ void MyAvatarLabel::contextMenuEvent ( QContextMenuEvent *event ) { //only active players are allowed to start a vote if((*it)->getMyActiveStatus()) { - // if(myW->getGuestMode()) { - //excpetions for client is logged in as guest - - //TODO diese RIESENSAUEREI aufräumen!!! - - // Game *currentGame = myW->getSession()->getCurrentGame(); - // PlayerListConstIterator it_c; - // int activePlayerCounter=0; - - // setVoteOnKickContextMenuEnabled(FALSE); - // action_IgnorePlayer->setEnabled(FALSE); - - // if(myW->getSession()->getGameType() == Session::GAME_TYPE_INTERNET) { - // action_ReportBadAvatar->setVisible(TRUE); - // } - // else { - // action_ReportBadAvatar->setVisible(FALSE); - // } - - // int i=0; - // for (it_c=currentGame->getSeatsList()->begin(); it_c!=currentGame->getSeatsList()->end(); it_c++) { - - // //also inactive player which stays on table can be voted to kick - // if(myContextMenuEnabled && myId != 0 && myId == i && (*it_c)->getMyType() != PLAYER_TYPE_COMPUTER && ( (*it_c)->getMyActiveStatus() || (*it_c)->getMyStayOnTableStatus() ) && !(QString::fromUtf8((*it_c)->getMyAvatar().c_str()).isEmpty()) ) - // showContextMenu(event->globalPos()); - - // i++; - // } - // } - // else { - //normal player mode in internet game - Game *currentGame = myW->getSession()->getCurrentGame(); PlayerListConstIterator it_c; int activePlayerCounter=0;