equal
deleted
inserted
replaced
568 QString roomName = roomsList->model()->index(mdl[0].row(), 1).data().toString(); |
568 QString roomName = roomsList->model()->index(mdl[0].row(), 1).data().toString(); |
569 |
569 |
570 if (!gameInLobby) |
570 if (!gameInLobby) |
571 emit askJoinConfirmation(roomName); |
571 emit askJoinConfirmation(roomName); |
572 else |
572 else |
573 emit askForJoinRoom(roomName); |
573 emit askForJoinRoom(roomName, QString()); |
574 } |
574 } |
575 |
575 |
576 void PageRoomsList::onRefreshClick() |
576 void PageRoomsList::onRefreshClick() |
577 { |
577 { |
578 emit askForRoomList(); |
578 emit askForRoomList(); |
598 reallyJoinMsg.setWindowModality(Qt::WindowModal); |
598 reallyJoinMsg.setWindowModality(Qt::WindowModal); |
599 reallyJoinMsg.setStandardButtons(QMessageBox::Ok | QMessageBox::Cancel); |
599 reallyJoinMsg.setStandardButtons(QMessageBox::Ok | QMessageBox::Cancel); |
600 |
600 |
601 if (reallyJoinMsg.exec() == QMessageBox::Ok) |
601 if (reallyJoinMsg.exec() == QMessageBox::Ok) |
602 { |
602 { |
603 emit askForJoinRoom(room); |
603 emit askForJoinRoom(room, QString()); |
604 } |
604 } |
605 } |
605 } |
606 |
606 |
607 void PageRoomsList::updateNickCounter(int cnt) |
607 void PageRoomsList::updateNickCounter(int cnt) |
608 { |
608 { |