From 30b21cac1f626751898c306849ff13a15cdd9275 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 22 Jan 2008 07:20:56 +0000 Subject: [PATCH] Use the right kWarning() calls svn path=/trunk/KDE/kdebase/apps/konsole/; revision=764626 --- src/Pty.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Pty.cpp b/src/Pty.cpp index 854a86ac..2cdf199c 100644 --- a/src/Pty.cpp +++ b/src/Pty.cpp @@ -66,7 +66,7 @@ void Pty::setXonXoff(bool enable) else ttmode.c_iflag |= (IXOFF | IXON); if (!pty()->tcSetAttr(&ttmode)) - kWarning("Unable to set terminal attributes."); + kWarning() << "Unable to set terminal attributes."; } } @@ -84,7 +84,7 @@ void Pty::setUtf8Mode(bool enable) else ttmode.c_iflag |= IUTF8; if (!pty()->tcSetAttr(&ttmode)) - kWarning("Unable to set terminal attributes."); + kWarning() << "Unable to set terminal attributes."; } #endif } @@ -99,7 +99,7 @@ void Pty::setErase(char erase) pty()->tcGetAttr(&ttmode); ttmode.c_cc[VERASE] = erase; if (!pty()->tcSetAttr(&ttmode)) - kWarning("Unable to set terminal attributes."); + kWarning() << "Unable to set terminal attributes."; } } @@ -193,7 +193,7 @@ int Pty::start(const QString& program, ttmode.c_cc[VERASE] = _eraseChar; if (!pty()->tcSetAttr(&ttmode)) - kWarning("Unable to set terminal attributes."); + kWarning() << "Unable to set terminal attributes."; pty()->setWinSize(_windowLines, _windowColumns); @@ -237,7 +237,7 @@ void Pty::sendData(const char* data, int length) if (!pty()->write(data,length)) { - kWarning("Pty::doSendJobs - Could not send input data to terminal process."); + kWarning() << "Pty::doSendJobs - Could not send input data to terminal process."; return; } }