Launcher default is P2P session DBus

This commit is contained in:
Klaus Basan
2019-10-28 00:37:45 +01:00
committed by Mat Sutcliffe
parent 1d195b87fa
commit 6871e3d03d
2 changed files with 2 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ namespace BlackCore
void setPropertyByIndex(const BlackMisc::CPropertyIndex &index, const BlackMisc::CVariant &variant);
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
int m_coreMode = static_cast<int>(Standalone); //!< core

View File

@@ -59,7 +59,7 @@ namespace BlackGui
QString CDBusServerAddressSelector::getDBusAddress() const
{
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();
}