mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
Ref T192, onConnectionTerminated was never fired and hence removed
This commit is contained in:
@@ -72,9 +72,6 @@ namespace BlackCore
|
||||
s = connection.connect(serviceName, IContextNetwork::ObjectPath(), IContextNetwork::InterfaceName(),
|
||||
"changedAircraftInRangeDigest", this, SIGNAL(changedAircraftInRangeDigest()));
|
||||
Q_ASSERT(s);
|
||||
s = connection.connect(serviceName, IContextNetwork::ObjectPath(), IContextNetwork::InterfaceName(),
|
||||
"connectionTerminated", this, SIGNAL(connectionTerminated()));
|
||||
Q_ASSERT(s);
|
||||
s = connection.connect(serviceName, IContextNetwork::ObjectPath(), IContextNetwork::InterfaceName(),
|
||||
"kicked", this, SIGNAL(kicked(QString)));
|
||||
Q_ASSERT(s);
|
||||
|
||||
@@ -237,11 +237,6 @@ void SwiftGuiStd::displayStatusMessageInGui(const CStatusMessage &statusMessage)
|
||||
}
|
||||
}
|
||||
|
||||
void SwiftGuiStd::onConnectionTerminated()
|
||||
{
|
||||
this->updateGuiStatusInformation();
|
||||
}
|
||||
|
||||
void SwiftGuiStd::onKickedFromNetwork(const QString &kickMessage)
|
||||
{
|
||||
this->updateGuiStatusInformation();
|
||||
|
||||
@@ -207,9 +207,6 @@ private:
|
||||
//! Menu item clicked
|
||||
void onMenuClicked();
|
||||
|
||||
//! Terminated connection
|
||||
void onConnectionTerminated();
|
||||
|
||||
//! Kicked from network
|
||||
void onKickedFromNetwork(const QString &kickMessage);
|
||||
|
||||
|
||||
@@ -123,8 +123,6 @@ void SwiftGuiStd::init()
|
||||
// signal / slots contexts / timers
|
||||
bool s = connect(sGui->getWebDataServices(), &CWebDataServices::sharedInfoObjectsRead, this, &SwiftGuiStd::sharedInfoObjectsLoaded, Qt::QueuedConnection);
|
||||
Q_ASSERT(s);
|
||||
s = connect(sGui->getIContextNetwork(), &IContextNetwork::connectionTerminated, this, &SwiftGuiStd::onConnectionTerminated, Qt::QueuedConnection);
|
||||
Q_ASSERT(s);
|
||||
s = connect(sGui->getIContextNetwork(), &IContextNetwork::connectionStatusChanged, this, &SwiftGuiStd::onConnectionStatusChanged, Qt::QueuedConnection);
|
||||
Q_ASSERT(s);
|
||||
s = connect(sGui->getIContextNetwork(), &IContextNetwork::kicked, this, &SwiftGuiStd::onKickedFromNetwork, Qt::QueuedConnection);
|
||||
|
||||
Reference in New Issue
Block a user