summaryrefslogtreecommitdiff
path: root/src/plugins/android/androidpackageinstallationstep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/android/androidpackageinstallationstep.cpp')
-rw-r--r--src/plugins/android/androidpackageinstallationstep.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/plugins/android/androidpackageinstallationstep.cpp b/src/plugins/android/androidpackageinstallationstep.cpp
index bd4fdc104f..bb196834dd 100644
--- a/src/plugins/android/androidpackageinstallationstep.cpp
+++ b/src/plugins/android/androidpackageinstallationstep.cpp
@@ -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()));
+ }
}
}
}