--- 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);