make cppcheck happy again ;)

This commit is contained in:
doitux
2013-09-30 22:21:30 +02:00
parent 972ab5e2ee
commit 6a3b13e753
+1 -1
View File
@@ -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;