forked from qt-creator/qt-creator
Android: Fix multiple clang clazy warnings
Change-Id: I2ea6cebd16c09a8a4502f4719d99a9d85e5e7d02 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -160,10 +160,14 @@ void AndroidPackageInstallationStep::doRun()
|
||||
dir.mkpath(assetsDebugDir);
|
||||
|
||||
QFile file(assetsDebugDir + "debugger.command");
|
||||
if (file.open(QIODevice::WriteOnly))
|
||||
qCDebug(packageInstallationStepLog, "Successful added %s to the package.", qPrintable(file.fileName()));
|
||||
else
|
||||
qCDebug(packageInstallationStepLog, "Cound't add %s to the package. The QML debugger might not work properly.", qPrintable(file.fileName()));
|
||||
if (file.open(QIODevice::WriteOnly)) {
|
||||
qCDebug(packageInstallationStepLog, "Successful added %s to the package.",
|
||||
qPrintable(file.fileName()));
|
||||
} else {
|
||||
qCDebug(packageInstallationStepLog,
|
||||
"Cound't add %s to the package. The QML debugger might not work properly.",
|
||||
qPrintable(file.fileName()));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user