QTfrontend/model/roomslistmodel.cpp
changeset 6757 ed9b3a567a3d
parent 6736 efad396abee9
child 6966 eda4f63bec41
equal deleted inserted replaced
6756:344d32bb1328 6757:ed9b3a567a3d
    61     }
    61     }
    62 
    62 
    63     for(int i = 0; i < rooms.size(); i += 8)
    63     for(int i = 0; i < rooms.size(); i += 8)
    64     {
    64     {
    65         QStringList l;
    65         QStringList l;
    66         l.reserve(8);
    66         //l.reserve(8);  not really that useful an optimisation and causes problems w/ old Qt.  Harmless to leave it out.
    67         for(int t = 0; t < 8; ++t)
    67         for(int t = 0; t < 8; ++t)
    68             l.append(rooms[i + t]);
    68             l.append(rooms[i + t]);
    69 
    69 
    70         m_data.append(roomInfo2RoomRecord(l));
    70         m_data.append(roomInfo2RoomRecord(l));
    71     }
    71     }