mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
refs #520 CDBusServer style/cleanup.
This commit is contained in:
@@ -80,7 +80,7 @@ CommandLineParseResult parseCommandLine(QCommandLineParser &parser,
|
||||
if (parser.isSet(dBusOption))
|
||||
{
|
||||
QString v(parser.value(dBusOption).trimmed());
|
||||
dBusAddress = CDBusServer::fixAddressToDBusAddress(v);
|
||||
dBusAddress = CDBusServer::normalizeAddress(v);
|
||||
if (!CDBusServer::isDBusAvailable(dBusAddress))
|
||||
{
|
||||
errorMessage = "DBus server at " + dBusAddress + " can not be reached";
|
||||
|
||||
Reference in New Issue
Block a user