From f1e51c6842bb17eb3b061b637669ee5fe1459e73 Mon Sep 17 00:00:00 2001 From: Laszlo Papp Date: Wed, 20 Nov 2013 06:58:30 +0000 Subject: Remove the standard input copy/paste issue from the QIODevice documentation Change-Id: I03d4be1bf7fd5670c563484759eda670c9a0cb75 Reviewed-by: Denis Shienkov Reviewed-by: Sergey Belyashov --- examples/serialport/creaderasync/serialportreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/serialport/creaderasync') diff --git a/examples/serialport/creaderasync/serialportreader.cpp b/examples/serialport/creaderasync/serialportreader.cpp index 310455c9..5dd74129 100644 --- a/examples/serialport/creaderasync/serialportreader.cpp +++ b/examples/serialport/creaderasync/serialportreader.cpp @@ -72,7 +72,7 @@ void SerialPortReader::handleReadyRead() void SerialPortReader::handleTimeout() { if (m_readData.isEmpty()) { - m_standardOutput << QObject::tr("Either no data was currently available on the standard input for reading, or an error occurred for port %1, error: %2").arg(m_serialPort->portName()).arg(m_serialPort->errorString()) << endl; + m_standardOutput << QObject::tr("Either no data was currently available for reading, or an error occurred for port %1, error: %2").arg(m_serialPort->portName()).arg(m_serialPort->errorString()) << endl; QCoreApplication::exit(1); } else { m_standardOutput << QObject::tr("Data successfully received from port %1").arg(m_serialPort->portName()) << endl; -- cgit v1.2.3