windeployqt: fix informational output
authorJoerg Bornemann <joerg.bornemann@digia.com>
Wed, 12 Mar 2014 11:00:08 +0000 (12:00 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 12 Mar 2014 12:55:01 +0000 (13:55 +0100)
Spaces were missing and the executable was printed twice.

Change-Id: Ib5ea86a0f32ee345a61f37655d58e5665ef4153d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
src/windeployqt/main.cpp

index d8176db..6372718 100644 (file)
@@ -768,11 +768,11 @@ static DeployResult deploy(const Options &options,
                                 || (options.additionalLibraries & QtQmlModule));
 
     if (optVerboseLevel) {
-        std::wcout << QDir::toNativeSeparators(options.binary)
-                   << wordSize << "bit, " << (isDebug ? "debug" : "release")
-                   << QDir::toNativeSeparators(options.binary) << " executable";
+        std::wcout << QDir::toNativeSeparators(options.binary) << ' '
+                   << wordSize << " bit, " << (isDebug ? "debug" : "release")
+                   << " executable";
         if (usesQml2)
-            std::wcout << "[QML]";
+            std::wcout << " [QML]";
         std::wcout << '\n';
     }