QTfrontend/net/newnetclient.cpp
changeset 9906 93c16a4b0c6a
parent 9730 20dca3377887
child 9950 2759212a27de
child 9998 736015b847e3
equal deleted inserted replaced
9904:ef3321c86912 9906:93c16a4b0c6a
   543 
   543 
   544         QString roomName = tmp.takeFirst();
   544         QString roomName = tmp.takeFirst();
   545         m_roomsListModel->updateRoom(roomName, tmp);
   545         m_roomsListModel->updateRoom(roomName, tmp);
   546 
   546 
   547         // keep track of room name so correct name is displayed
   547         // keep track of room name so correct name is displayed
   548         if(myroom == roomName)
   548         if(myroom == roomName && myroom != tmp[1])
   549         {
   549         {
   550             myroom = tmp[1];
   550             myroom = tmp[1];
   551             emit roomNameUpdated(myroom);
   551             emit roomNameUpdated(myroom);
   552         }
   552         }
   553 
   553