Verified Commit adf20437 authored by ivan tkachenko's avatar ivan tkachenko
Browse files

powermanagement: Fix log message formatting

Printing out QString takes care of adding both spaces and double quotes.
Otherwise, it used to be like this:

    Data for ' "Battery1" ' not found
parent 122be66e
Pipeline #191072 passed with stage
in 10 minutes and 32 seconds
......@@ -469,7 +469,7 @@ bool PowermanagementEngine::sourceRequestEvent(const QString &name)
updatePowerProfileHolds(reply.value());
});
} else {
qDebug() << "Data for '" << name << "' not found";
qDebug() << "Data for" << name << "not found";
return false;
}
return true;
......
Supports Markdown
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