QTfrontend/model/roomslistmodel.cpp
changeset 10511 c33b2f001730
parent 10391 ce3ccc45d790
child 10739 d886f319e7b3
--- a/QTfrontend/model/roomslistmodel.cpp	Mon Nov 17 15:25:24 2014 +0100
+++ b/QTfrontend/model/roomslistmodel.cpp	Tue Nov 18 00:32:39 2014 +0300
@@ -262,9 +262,10 @@
 
     result = info;
 
+    QString flags = info[StateColumn];
     // for matters of less memory usage and quicker access store
     // the boolean string as either "t" or empty
-    if (info[StateColumn].toLower() == "true")
+    if (flags.contains('g'))
         result[StateColumn] = "t";
     else
         result[StateColumn] = QString();