refs #937 Resolved clazy warnings: QString::arg.

This commit is contained in:
Mathew Sutcliffe
2017-04-15 01:29:17 +01:00
parent b20ebd6dfd
commit a8302b310e
7 changed files with 15 additions and 16 deletions

View File

@@ -380,7 +380,7 @@ namespace BlackMisc
// todo: Replace assert with input validation
Q_ASSERT_X(CNetworkUtils::isValidIPv4Address(p), "CDBusServer::p2pAddress", "Wrong IP in String");
return QString("tcp:host=%1,port=%2").arg(h).arg(p);
return QString("tcp:host=%1,port=%2").arg(h, p);
}
const QString &CDBusServer::p2pConnectionName()