mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
This commit is contained in:
@@ -156,14 +156,6 @@ namespace BlackSimPlugin
|
||||
return m_service && m_traffic;
|
||||
}
|
||||
|
||||
bool CSimulatorXPlane::canConnect() const
|
||||
{
|
||||
if (isConnected()) { return true; }
|
||||
auto conn = QDBusConnection::sessionBus(); // TODO make this configurable
|
||||
CXBusServiceProxy dummy(conn, nullptr, true);
|
||||
return dummy.isValid();
|
||||
}
|
||||
|
||||
bool CSimulatorXPlane::connectTo()
|
||||
{
|
||||
if (isConnected())
|
||||
|
||||
Reference in New Issue
Block a user