From 07bb19fe9621089e95c21e8ad30ecc71f086847c Mon Sep 17 00:00:00 2001
From: Robert Loehning <robert.loehning@nokia.com>
Date: Mon, 21 Sep 2009 16:53:50 +0200
Subject: [PATCH] Fixed Launcher::handleSupportMask

Reviewed-by: Friedemann Kleint
---
 src/shared/trk/launcher.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/shared/trk/launcher.cpp b/src/shared/trk/launcher.cpp
index 5535cb1a62e..a984cee40d5 100644
--- a/src/shared/trk/launcher.cpp
+++ b/src/shared/trk/launcher.cpp
@@ -397,13 +397,14 @@ void Launcher::handleWaitForFinished(const TrkResult &result)
 
 void Launcher::handleSupportMask(const TrkResult &result)
 {
-    const char *data = result.data.data();
+    const char *data = result.data.data() + 1;
+
     QByteArray str;
     for (int i = 0; i < 32; ++i) {
         //str.append("  [" + formatByte(data[i]) + "]: ");
         for (int j = 0; j < 8; ++j)
         if (data[i] & (1 << j))
-            str.append(QByteArray::number(i * 8 + j, 16));
+            str.append(QByteArray::number(i * 8 + j, 16) + " ");
     }
     logMessage("SUPPORTED: " + str);
 }
-- 
GitLab