mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Fix some log messages with extra spaces
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user