Fixing cppcheck "Prefer prefix ++/-- operators for non-primitive types." issues.
This commit is contained in:
@@ -118,7 +118,7 @@ void ChatTools::receiveMessage(QString playerName, QString message) {
|
||||
|
||||
bool nickFoundOnIgnoreList = false;
|
||||
list<std::string>::iterator it1;
|
||||
for(it1=ignoreList.begin(); it1 != ignoreList.end(); it1++) {
|
||||
for(it1=ignoreList.begin(); it1 != ignoreList.end(); ++it1) {
|
||||
|
||||
if(playerName == QString::fromUtf8(it1->c_str())) {
|
||||
nickFoundOnIgnoreList = true;
|
||||
|
||||
Reference in New Issue
Block a user