oops 0.9.21
authornemo
Sat, 03 Jan 2015 18:14:45 -0500
branch0.9.21
changeset 10741 7fababf10b60
parent 10739 d886f319e7b3
child 10743 1d16c5414fee
oops
QTfrontend/model/roomslistmodel.cpp
--- a/QTfrontend/model/roomslistmodel.cpp	Sat Jan 03 17:27:33 2015 -0500
+++ b/QTfrontend/model/roomslistmodel.cpp	Sat Jan 03 18:14:45 2015 -0500
@@ -119,21 +119,21 @@
         if (flags.contains("g"))
         {
             if (flags.contains("j"))
+                return QVariant(roomBusyIconRed);
+            else if (flags.contains("p"))
+                return QVariant(roomBusyIconGreen);
+            else
+                return QVariant(roomBusyIcon);
+        }
+        else
+        {
+            if (flags.contains("j"))
                 return QVariant(roomWaitingIconRed);
             else if (flags.contains("p"))
                 return QVariant(roomWaitingIconGreen);
             else
                 return QVariant(roomWaitingIcon);
         }
-        else
-        {
-            if (flags.contains("j"))
-                return QVariant(roomBusyIconRed);
-            else if (flags.contains("p"))
-                return QVariant(roomBusyIconGreen);
-            else
-                return QVariant(roomBusyIcon);
-        }
     }
 
     QString content = m_data.at(row).at(column);