comment out reserve to maintain old Qt compat
authornemo
Thu, 01 Mar 2012 14:45:42 -0500
changeset 6757 ed9b3a567a3d
parent 6756 344d32bb1328
child 6758 26bf919aeb57
comment out reserve to maintain old Qt compat
QTfrontend/model/roomslistmodel.cpp
--- a/QTfrontend/model/roomslistmodel.cpp	Thu Mar 01 23:35:13 2012 +0400
+++ b/QTfrontend/model/roomslistmodel.cpp	Thu Mar 01 14:45:42 2012 -0500
@@ -63,7 +63,7 @@
     for(int i = 0; i < rooms.size(); i += 8)
     {
         QStringList l;
-        l.reserve(8);
+        //l.reserve(8);  not really that useful an optimisation and causes problems w/ old Qt.  Harmless to leave it out.
         for(int t = 0; t < 8; ++t)
             l.append(rooms[i + t]);