mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 08:45:36 +08:00
Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API.
This commit is contained in:
@@ -64,7 +64,7 @@ namespace BlackMisc
|
||||
const bool c = this->connection().connect(this->service(), this->path(), this->interface(), method.name(), this->parent(), signature);
|
||||
if (!c)
|
||||
{
|
||||
CLogMessage(this).error("Cannot connect signal: %1") << QString(signature);
|
||||
CLogMessage(this).error(u"Cannot connect signal: %1") << QString(signature);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -86,7 +86,7 @@ namespace BlackMisc
|
||||
pr.waitForFinished();
|
||||
if(pr.isError())
|
||||
{
|
||||
CLogMessage(this).debug("CGenericDBusInterface::callDBusRet(%1) returned: %2") << method << pr.error().message();
|
||||
CLogMessage(this).debug(u"CGenericDBusInterface::callDBusRet(%1) returned: %2") << method << pr.error().message();
|
||||
}
|
||||
return pr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user