More cppcheck fixes.
This commit is contained in:
@@ -362,7 +362,7 @@ bool MyAvatarLabel::playerIsOnIgnoreList(QString playerName) {
|
||||
|
||||
list<std::string> playerIgnoreList = myW->getMyConfig()->readConfigStringList("PlayerIgnoreList");
|
||||
list<std::string>::iterator it1;
|
||||
for(it1= playerIgnoreList.begin(); it1 != playerIgnoreList.end(); it1++) {
|
||||
for(it1= playerIgnoreList.begin(); it1 != playerIgnoreList.end(); ++it1) {
|
||||
|
||||
if(playerName == QString::fromUtf8(it1->c_str())) {
|
||||
return true;
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <assert.h>
|
||||
#include "ui_startwindow.h"
|
||||
#include "game_defs.h"
|
||||
#include "QMessageBox"
|
||||
#include <QMessageBox>
|
||||
|
||||
class GuiInterface;
|
||||
class GuiWrapper;
|
||||
|
||||
Reference in New Issue
Block a user