diff options
author | Laszlo Papp <lpapp@kde.org> | 2013-10-29 20:52:14 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-30 09:34:40 +0100 |
commit | e300556a9c8795d98311e5d716262ab85caa4c93 (patch) | |
tree | fce8fb7e8daae3a030b632e4b3b31af825749ab3 | |
parent | 3e4005ce3ca38b04abfdbd30a3badcd844b2ac2d (diff) | |
download | qtserialport-e300556a9c8795d98311e5d716262ab85caa4c93.tar.gz |
Fix a typo (or copy/paste) error for the comment
It is incorrect English in there, and also incorrect content what it tries to
explain. Also, it is not consistent with the rest like QtNetwork, i.e
QAbstractSocket.
Change-Id: Ibfca1314145e1c49cda7a3e77d9d9ac97d2b6dd2
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
-rw-r--r-- | src/serialport/qserialport_unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialport/qserialport_unix.cpp b/src/serialport/qserialport_unix.cpp index f580fcb..0bab22d 100644 --- a/src/serialport/qserialport_unix.cpp +++ b/src/serialport/qserialport_unix.cpp @@ -781,7 +781,7 @@ bool QSerialPortPrivate::writeNotification(int maxSize) const char *ptr = writeBuffer.readPointer(); - // Attempt to write it chunk. + // Attempt to write it all in one chunk. qint64 written = writeToPort(ptr, nextSize); if (written < 0) { QSerialPort::SerialPortError error = decodeSystemError(); |