Add source code module name to stdout/stderr messages to improve readability.

pull/2/head
Darrell Anderson 11 years ago
parent 9ebb7ce7ea
commit 6f7fabab87

@ -115,12 +115,12 @@ void TEPty::setErase(char erase)
if(tcgetattr(fd, &tios))
{
tqWarning("Uh oh.. can't get terminal attributes..");
tqWarning("[Konsole-TEPty] Uh oh.. can't get terminal attributes..");
return;
}
tios.c_cc[VERASE] = erase;
if(tcsetattr(fd, TCSANOW, &tios))
tqWarning("Uh oh.. can't set terminal attributes..");
tqWarning("[Konsole-TEPty] Uh oh.. can't set terminal attributes..");
}
/*!
@ -217,7 +217,7 @@ void TEPty::doSendJobs() {
SendJob& job = pendingSendJobs.first();
if (!writeStdin(job.buffer.data(), job.length))
{
tqWarning("Uh oh.. can't write data..");
tqWarning("[Konsole-TEPty] Uh oh.. can't write data..");
return;
}
m_bufferFull = true;

Loading…
Cancel
Save