premature optimisation bit me again.
--- 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)
{