mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-24 07:55:35 +08:00
refs #702, access to reverse lookup log messages per callsign
* added functions in airspace / context * allow to retrieve "aircraft in range" callsigns
This commit is contained in:
@@ -76,9 +76,9 @@ namespace BlackCore
|
||||
this->initDBusConnection(dbusAddress);
|
||||
if (!this->m_dbusConnection.isConnected())
|
||||
{
|
||||
QString notConnected("DBus connection failed:");
|
||||
QString e = this->m_dbusConnection.lastError().message();
|
||||
if (!e.isEmpty()) notConnected.append(" ").append(e);
|
||||
QString notConnected("DBus connection failed: ");
|
||||
const QString e = this->m_dbusConnection.lastError().message();
|
||||
if (!e.isEmpty()) { notConnected.append(e); }
|
||||
Q_ASSERT_X(false, "CRuntime::init", notConnected.toUtf8().constData());
|
||||
CLogMessage(this).error(notConnected);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user