Fixing cppcheck issues.

This commit is contained in:
lotodore
2012-09-02 12:35:41 +02:00
parent 0084728167
commit f145ae2b42
8 changed files with 13 additions and 25 deletions
+2 -2
View File
@@ -1876,13 +1876,13 @@ void gameTableImpl::meInAction()
myActionIsRaise = 0;
myActionIsBet = 0;
if(myConfig->readConfigInt("ShowStatusbarMessages")) {
/* if(myConfig->readConfigInt("ShowStatusbarMessages")) {
if ( myConfig->readConfigInt("AlternateFKeysUserActionMode") == 0 ) {
// // statusBar()->showMessage(tr("F1 - Fold | F2 - Check/Call | F3 - Bet/Raise | F4 - All-In"), 15000);
} else {
// statusBar()->showMessage(tr("F1 - All-In | F2 - Bet/Raise | F3 - Check/Call | F4 - Fold"), 15000);
}
}
}*/
QString lastPushButtonFoldString = pushButton_Fold->text();
-1
View File
@@ -129,7 +129,6 @@ void MyAvatarLabel::setPlayerRating(QString playerInfo)
int found=0;
QStringList playerInfoList=playerInfo.split("\"", QString::KeepEmptyParts, Qt::CaseSensitive), tipInfo;
boost::shared_ptr<Game> currentGame = myW->myStartWindow->getSession()->getCurrentGame();
PlayerListConstIterator it_c;
PlayerList seatsList = currentGame->getSeatsList();
std::list<std::string> tipsList = myW->getMyConfig()->readConfigStringList("PlayerTooltips");
std::list<std::string> result;