QTfrontend/model/roomslistmodel.cpp
branch0.9.21
changeset 10745 fab746a3597e
parent 10741 7fababf10b60
child 11046 47a8c19ecb60
--- a/QTfrontend/model/roomslistmodel.cpp	Sun Jan 04 00:44:14 2015 -0500
+++ b/QTfrontend/model/roomslistmodel.cpp	Sun Jan 04 14:04:17 2015 -0500
@@ -114,7 +114,7 @@
         const QIcon roomWaitingIconGreen(":/res/iconTimeLockG.png");
         const QIcon roomWaitingIconRed(":/res/iconTimeLockR.png");
 
-        QString flags = m_data.at(row).at(0);
+        QString flags = m_data.at(row).at(StateColumn);
 
         if (flags.contains("g"))
         {
@@ -140,10 +140,6 @@
 
     if (role == Qt::DisplayRole)
     {
-        // supply in progress flag as bool
-        if (column == 0)
-            return QVariant(QString(!content.isEmpty()));
-
         // display room names
         if (column == 5)
         {