multiplayer: fix "Connected" message not appearing on first connection

This commit is contained in:
zhupengfei 2018-11-07 22:41:56 +08:00
parent 0823d8e009
commit 6c29d441f4
No known key found for this signature in database
GPG key ID: DD129E108BD09378

View file

@ -33,6 +33,8 @@ ClientRoomWindow::ClientRoomWindow(QWidget* parent)
connect(this, &ClientRoomWindow::RoomInformationChanged, this,
&ClientRoomWindow::OnRoomUpdate);
connect(this, &ClientRoomWindow::StateChanged, this, &::ClientRoomWindow::OnStateChange);
// Update the state
OnStateChange(member->GetState());
} else {
// TODO (jroweboy) network was not initialized?
}