Commit 07bb19fe authored by Robert Loehning's avatar Robert Loehning
Browse files

Fixed Launcher::handleSupportMask

Reviewed-by: Friedemann Kleint
parent 1e6cda9b
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment