mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
refs #520 CDBusServer style/cleanup.
This commit is contained in:
@@ -354,11 +354,11 @@ namespace BlackSimPlugin
|
||||
|
||||
QDBusConnection CSimulatorXPlane::connectionFromString(const QString &str)
|
||||
{
|
||||
if (str == BlackMisc::CDBusServer::sessionDBusServer())
|
||||
if (str == BlackMisc::CDBusServer::sessionBusAddress())
|
||||
{
|
||||
return QDBusConnection::sessionBus();
|
||||
}
|
||||
else if (str == BlackMisc::CDBusServer::systemDBusServer())
|
||||
else if (str == BlackMisc::CDBusServer::systemBusAddress())
|
||||
{
|
||||
return QDBusConnection::systemBus();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user