mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
Fixed clazy warnings: empty QStringLiteral.
This commit is contained in:
@@ -189,7 +189,7 @@ namespace BlackMisc
|
||||
|
||||
QString CServer::getServerSessionId() const
|
||||
{
|
||||
if (!this->isConnected()) { return ""; }
|
||||
if (!this->isConnected()) { return {}; }
|
||||
static const QString session("%1 %2:%3 [%4] %5 %6");
|
||||
return session.arg(this->getName(), this->getAddress()).arg(this->getPort()).arg(this->getEcosystem().getSystemString(), this->getUser().getRealName(), this->getFormattedUtcTimestampHms());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user