QTfrontend/model/playerslistmodel.cpp
changeset 7842 d1c0e4341165
parent 7833 20e3bd929f07
child 8891 bf67b4d7d7b4
--- a/QTfrontend/model/playerslistmodel.cpp	Sat Oct 27 20:05:52 2012 +0200
+++ b/QTfrontend/model/playerslistmodel.cpp	Sat Oct 27 22:23:41 2012 +0400
@@ -230,13 +230,19 @@
         QPainter painter(&result);
 
         if(index.data(RoomFilterRole).toBool())
+        {
             if(index.data(InGame).toBool())
+            {
                 painter.drawPixmap(0, 0, 16, 16, QPixmap(":/res/chat/ingame.png"));
+            }
             else
+            {
                 if(index.data(Ready).toBool())
                     painter.drawPixmap(0, 0, 16, 16, QPixmap(":/res/chat/lamp.png"));
                 else
                     painter.drawPixmap(0, 0, 16, 16, QPixmap(":/res/chat/lamp_off.png"));
+            }
+        }
 
         QString mainIconName(":/res/chat/");