Some changes to make cppcheck happy.
This commit is contained in:
1 parent
d6ab25d816
commit
f8c89304d1
7 files changed
+2
-178
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user