Some changes to make cppcheck happy.

This commit is contained in:
lotodore
2011-09-29 20:54:24 +00:00
parent d6ab25d816
commit f8c89304d1
7 changed files with 2 additions and 178 deletions
+2 -1
View File
@@ -253,7 +253,8 @@ QString MyAvatarLabel::getPlayerTip(QString playerName)
void MyAvatarLabel::setPlayerTip()
{
int found=0;
std::string rating="1", separator="(!#$%)";
//std::string rating="1";
std::string separator="(!#$%)";
std::string tip = std::string((const char*)myW->textEdit_tipInput->toPlainText().toUtf8());
std::string playerName;
if(myW->tabWidget_Left->widget(2) == myW->tab_editTip)playerName = myW->tabWidget_Left->tabText(2).toUtf8().constData();