Fix some log messages with extra spaces

This commit is contained in:
Cameron Gutman
2022-11-02 19:25:44 -05:00
parent 09ce3c9ce4
commit 448633ec3c
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ void AutoUpdateChecker::handleUpdateCheckRequestFinished(QNetworkReply* reply)
<< QSysInfo::buildCpuArchitecture() << getPlatform() << QSysInfo::kernelVersion(); << QSysInfo::buildCpuArchitecture() << getPlatform() << QSysInfo::kernelVersion();
} }
else { else {
qWarning() << "Update checking failed with error: " << reply->error(); qWarning() << "Update checking failed with error:" << reply->error();
reply->deleteLater(); reply->deleteLater();
} }
} }
+1 -1
View File
@@ -44,7 +44,7 @@ private:
// Ensure the machine that responded is the one we intended to contact // Ensure the machine that responded is the one we intended to contact
if (m_Computer->uuid != newState.uuid) { if (m_Computer->uuid != newState.uuid) {
qInfo() << "Found unexpected PC " << newState.name << " looking for " << m_Computer->name; qInfo() << "Found unexpected PC" << newState.name << "looking for" << m_Computer->name;
return false; return false;
} }
+1 -1
View File
@@ -551,7 +551,7 @@ NvHTTP::openConnection(QUrl baseUrl,
if (reply->error() != QNetworkReply::NoError) if (reply->error() != QNetworkReply::NoError)
{ {
if (logLevel >= NvLogLevel::NVLL_ERROR) { if (logLevel >= NvLogLevel::NVLL_ERROR) {
qWarning() << command << " request failed with error " << reply->error(); qWarning() << command << "request failed with error:" << reply->error();
} }
if (reply->error() == QNetworkReply::SslHandshakeFailedError) { if (reply->error() == QNetworkReply::SslHandshakeFailedError) {
+2 -2
View File
@@ -163,13 +163,13 @@ bool StreamingPreferences::retranslate()
} }
if (newTranslator->load(QString(":/languages/qml_") + languageSuffix)) { if (newTranslator->load(QString(":/languages/qml_") + languageSuffix)) {
qInfo() << "Successfully loaded translation for " << languageSuffix; qInfo() << "Successfully loaded translation for" << languageSuffix;
translator = newTranslator; translator = newTranslator;
QCoreApplication::installTranslator(translator); QCoreApplication::installTranslator(translator);
} }
else { else {
qInfo() << "No translation available for " << languageSuffix; qInfo() << "No translation available for" << languageSuffix;
delete newTranslator; delete newTranslator;
} }