mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-13 13:35:14 +01:00
fixup: Address review
This commit is contained in:
parent
c7726f13e8
commit
65b38a7537
@ -59,7 +59,7 @@ void ClientRoomWindow::OnStateChange(const Network::RoomMember::State& state) {
|
|||||||
|
|
||||||
void ClientRoomWindow::Disconnect() {
|
void ClientRoomWindow::Disconnect() {
|
||||||
auto parent = static_cast<MultiplayerState*>(parentWidget());
|
auto parent = static_cast<MultiplayerState*>(parentWidget());
|
||||||
if (!parent->OnCloseRoom()) {
|
if (parent->OnCloseRoom()) {
|
||||||
ui->chat->AppendStatusMessage(tr("Disconnected"));
|
ui->chat->AppendStatusMessage(tr("Disconnected"));
|
||||||
close();
|
close();
|
||||||
}
|
}
|
||||||
|
@ -14,9 +14,6 @@ class HostRoomWindow;
|
|||||||
class ClientRoomWindow;
|
class ClientRoomWindow;
|
||||||
class DirectConnectWindow;
|
class DirectConnectWindow;
|
||||||
class ClickableLabel;
|
class ClickableLabel;
|
||||||
namespace Core {
|
|
||||||
class AnnounceMultiplayerSession;
|
|
||||||
}
|
|
||||||
|
|
||||||
class MultiplayerState : public QWidget {
|
class MultiplayerState : public QWidget {
|
||||||
Q_OBJECT;
|
Q_OBJECT;
|
||||||
|
Loading…
Reference in New Issue
Block a user