equal
deleted
inserted
replaced
851 |
851 |
852 roomsList->setRowCount(list.size() / 8); |
852 roomsList->setRowCount(list.size() / 8); |
853 for(int i = 0, r = 0; i < list.size(); i += 8, r++) |
853 for(int i = 0, r = 0; i < list.size(); i += 8, r++) |
854 { |
854 { |
855 QTableWidgetItem * item; |
855 QTableWidgetItem * item; |
856 item = new QTableWidgetItem(list[i + 1].left(30)); // room name |
856 item = new QTableWidgetItem(list[i + 1]); // room name |
857 item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable); |
857 item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable); |
858 |
858 |
859 // pick appropriate room icon and tooltip (game in progress yes/no; later maybe locked rooms etc.) |
859 // pick appropriate room icon and tooltip (game in progress yes/no; later maybe locked rooms etc.) |
860 if(list[i].compare("True")) |
860 if(list[i].compare("True")) |
861 { |
861 { |