refs #520 CDBusServer style/cleanup.

This commit is contained in:
Mathew Sutcliffe
2015-11-29 20:14:31 +00:00
parent 2a980af25b
commit 01d20c53e7
15 changed files with 186 additions and 234 deletions

View File

@@ -83,9 +83,9 @@ GuiModes::CoreMode CSwiftLauncher::getCoreMode() const
QString CSwiftLauncher::getDBusAddress() const
{
if (this->ui->rb_DBusSession->isChecked()) { return CDBusServer::sessionDBusServer(); }
if (this->ui->rb_DBusSystem->isChecked()) { return CDBusServer::systemDBusServer(); }
return CDBusServer::fixAddressToDBusAddress(
if (this->ui->rb_DBusSession->isChecked()) { return CDBusServer::sessionBusAddress(); }
if (this->ui->rb_DBusSystem->isChecked()) { return CDBusServer::systemBusAddress(); }
return CDBusServer::normalizeAddress(
this->ui->cb_DBusServerAddress->currentText() + ":" +
this->ui->le_DBusServerPort->text());
}