refactor: remove redundant c_str when setting logError
This commit is contained in:
parent
bcc5a12d37
commit
ca6220ad30
1 changed files with 1 additions and 1 deletions
|
|
@ -297,7 +297,7 @@ bool SecureSocket::loadCertificate(const QString &filename)
|
|||
if (!QFile::exists(filename)) {
|
||||
std::string errorMsg("tls certificate doesn't exist: ");
|
||||
errorMsg.append(filename.toStdString());
|
||||
SslLogger::logError(errorMsg.c_str());
|
||||
SslLogger::logError(errorMsg);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue