QTfrontend/model/roomslistmodel.cpp
changeset 6995 6b44c0f11476
parent 6993 47830cf50574
child 7258 722e8a0d89dc
equal deleted inserted replaced
6994:28805595b9ec 6995:6b44c0f11476
   117 
   117 
   118     if (role == Qt::DisplayRole)
   118     if (role == Qt::DisplayRole)
   119     {
   119     {
   120         // supply in progress flag as bool
   120         // supply in progress flag as bool
   121         if (column == 0)
   121         if (column == 0)
   122             return QVariant(!content.isEmpty());
   122             return QVariant(QString(!content.isEmpty()));
   123 
   123 
   124         // display room names
   124         // display room names
   125         if (column == 5)
   125         if (column == 5)
   126         {
   126         {
   127             // special names
   127             // special names