Commit 2e74a1ba authored by Kurt Hindenburg's avatar Kurt Hindenburg

Fix regression in pty()->write() usage

Correct usage of pty()->write(const QByteArray)

BUG: 355362
BUG: 382654
(cherry picked from commit 0cc7fecd)
parent d10202fd
......@@ -76,7 +76,7 @@ void Pty::sendData(const QByteArray &data)
return;
}
if (pty()->write(data.constData()) == -1) {
if (pty()->write(data) == -1) {
qCDebug(KonsoleDebug) << "Could not send input data to terminal process.";
return;
}
......
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