From 6a3b13e75350e672743b7237c06fef61be6822ac Mon Sep 17 00:00:00 2001 From: doitux Date: Mon, 30 Sep 2013 22:21:30 +0200 Subject: [PATCH] make cppcheck happy again ;) --- src/gui/qt/gametable/gametableimpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/qt/gametable/gametableimpl.cpp b/src/gui/qt/gametable/gametableimpl.cpp index 1f0e7ae4..9154eaf2 100755 --- a/src/gui/qt/gametable/gametableimpl.cpp +++ b/src/gui/qt/gametable/gametableimpl.cpp @@ -4463,7 +4463,7 @@ void gameTableImpl::refreshSpectatorsDisplay() { assert(myStartWindow->getSession()); GameInfo info(myStartWindow->getSession()->getClientGameInfo(myStartWindow->getSession()->getClientCurrentGameId())); - if(info.spectatorsDuringGame.size()) { + if(!info.spectatorsDuringGame.empty()) { QPixmap spectatorPix(":/gfx/spectator.png"); int iconX = this->centralWidget()->geometry().width() - spectatorPix.width() - 1; int iconY = 2;