fixup: Address review
This commit is contained in:
parent
c7726f13e8
commit
65b38a7537
2 changed files with 1 additions and 4 deletions
|
@ -59,7 +59,7 @@ void ClientRoomWindow::OnStateChange(const Network::RoomMember::State& state) {
|
|||
|
||||
void ClientRoomWindow::Disconnect() {
|
||||
auto parent = static_cast<MultiplayerState*>(parentWidget());
|
||||
if (!parent->OnCloseRoom()) {
|
||||
if (parent->OnCloseRoom()) {
|
||||
ui->chat->AppendStatusMessage(tr("Disconnected"));
|
||||
close();
|
||||
}
|
||||
|
|
|
@ -14,9 +14,6 @@ class HostRoomWindow;
|
|||
class ClientRoomWindow;
|
||||
class DirectConnectWindow;
|
||||
class ClickableLabel;
|
||||
namespace Core {
|
||||
class AnnounceMultiplayerSession;
|
||||
}
|
||||
|
||||
class MultiplayerState : public QWidget {
|
||||
Q_OBJECT;
|
||||
|
|
Loading…
Reference in a new issue