Also print command input if KPMCORE_DEBUG is set.

parent c8e401bc
......@@ -293,6 +293,8 @@ bool ExternalCommand::writeData(Report& commandReport, const QByteArray& buffer,
bool ExternalCommand::write(const QByteArray& input)
if ( qEnvironmentVariableIsSet( "KPMCORE_DEBUG" ))
qDebug() << "Command input:" << QString::fromLocal8Bit(input);
d->m_Input = input;
return true;
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