Android: Don't quote log lines with path names

Change-Id: I70f23af46bd6c8318971b20727e4010889bdcebc
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Alessandro Portale
2022-07-06 18:02:52 +02:00
parent 71ec25895f
commit 8ad4acdd30
9 changed files with 42 additions and 35 deletions

View File

@@ -181,7 +181,8 @@ void SplashScreenWidget::setImageFromPath(const FilePath &imagePath, bool resize
emit imageChanged();
}
else {
qCDebug(androidManifestEditorLog) << "Cannot save image.";
qCDebug(androidManifestEditorLog).noquote()
<< "Cannot save image." << targetPath.toUserOutput();
}
}
@@ -231,7 +232,8 @@ void SplashScreenWidget::loadImage()
}
QImage image = QImage(targetPath.toString());
if (image.isNull()) {
qCDebug(androidManifestEditorLog) << "Cannot load image.";
qCDebug(androidManifestEditorLog).noquote()
<< "Cannot load image." << targetPath.toUserOutput();
return;
}
if (m_showImageFullScreen) {