mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
Ref T168, relay kicked message thru context to UI
* new signal in context, connected with VATLIB * display in UI
This commit is contained in:
committed by
Mathew Sutcliffe
parent
2aa5ed431f
commit
27ebf3e43d
@@ -242,6 +242,14 @@ void SwiftGuiStd::onConnectionTerminated()
|
||||
this->updateGuiStatusInformation();
|
||||
}
|
||||
|
||||
void SwiftGuiStd::onKickedFromNetwork(const QString &kickMessage)
|
||||
{
|
||||
this->updateGuiStatusInformation();
|
||||
this->displayInOverlayWindow(CStatusMessage(
|
||||
this, CStatusMessage::SeverityError,
|
||||
kickMessage.isEmpty() ? "You have been kicked from the network" : kickMessage));
|
||||
}
|
||||
|
||||
void SwiftGuiStd::onConnectionStatusChanged(BlackCore::INetwork::ConnectionStatus from, BlackCore::INetwork::ConnectionStatus to)
|
||||
{
|
||||
Q_UNUSED(from);
|
||||
|
||||
Reference in New Issue
Block a user