mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 15:45:42 +08:00
refs #198 , made DBus address static, so it can be used elsewhere in the settings
This commit is contained in:
@@ -102,6 +102,20 @@ namespace BlackCore
|
||||
return defaultConnection;
|
||||
}
|
||||
|
||||
//! \brief Denotes a session DBus server
|
||||
static const QString &sessionDBusServer()
|
||||
{
|
||||
static QString session("session");
|
||||
return session;
|
||||
}
|
||||
|
||||
//! \brief Denotes a session DBus server
|
||||
static const QString &systemDBusServer()
|
||||
{
|
||||
static QString system("system");
|
||||
return system;
|
||||
}
|
||||
|
||||
private slots:
|
||||
|
||||
//! \brief Called when a new DBus client has connected
|
||||
|
||||
Reference in New Issue
Block a user