refs #420, refs #417, removes canConnect as it is not consumed, just generated.

This commit is contained in:
Klaus Basan
2015-05-17 20:24:05 +02:00
parent 0ea07e28e0
commit e53395412a
6 changed files with 0 additions and 30 deletions

View File

@@ -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())