mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-29 20:55:42 +08:00
Launcher default is P2P session DBus
This commit is contained in:
committed by
Mat Sutcliffe
parent
1d195b87fa
commit
6871e3d03d
@@ -74,7 +74,7 @@ namespace BlackCore
|
|||||||
void setPropertyByIndex(const BlackMisc::CPropertyIndex &index, const BlackMisc::CVariant &variant);
|
void setPropertyByIndex(const BlackMisc::CPropertyIndex &index, const BlackMisc::CVariant &variant);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QString m_dBusAddress { "session" }; //!< DBus address
|
QString m_dBusAddress { "tcp:host=127.0.0.1,port=45000" }; //!< DBus address
|
||||||
bool m_windowFrameless = false; //!< frameless window
|
bool m_windowFrameless = false; //!< frameless window
|
||||||
int m_coreMode = static_cast<int>(Standalone); //!< core
|
int m_coreMode = static_cast<int>(Standalone); //!< core
|
||||||
|
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ namespace BlackGui
|
|||||||
QString CDBusServerAddressSelector::getDBusAddress() const
|
QString CDBusServerAddressSelector::getDBusAddress() const
|
||||||
{
|
{
|
||||||
if (ui->rb_DBusSession->isChecked()) { return CDBusServer::sessionBusAddress(); }
|
if (ui->rb_DBusSession->isChecked()) { return CDBusServer::sessionBusAddress(); }
|
||||||
if (ui->rb_DBusSystem->isChecked()) { return CDBusServer::systemBusAddress(); }
|
if (ui->rb_DBusSystem->isChecked()) { return CDBusServer::systemBusAddress(); }
|
||||||
return this->getP2PAddress();
|
return this->getP2PAddress();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user