Also print command input if KPMCORE_DEBUG is set.
This commit is contained in:
parent
c8e401bc07
commit
bfa6a327af
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue