diff options
author | Laszlo Papp <lpapp@kde.org> | 2014-01-16 18:11:00 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-17 11:35:32 +0100 |
commit | 14b543782535e34bb28cc82c46e1e1ddda6a3898 (patch) | |
tree | 5294aadf071babc04b5dfb5586dd668369c5e3a3 | |
parent | 90dbacd9dae2b82fad9c68ca95c06a6d6b1ae030 (diff) | |
download | qtserialport-14b543782535e34bb28cc82c46e1e1ddda6a3898.tar.gz |
Fix the broken handle() documentation
This is likely to be happening due to the mismatching function signature include
the return type between the header and source file. Two things are being fixed:
1) Dropped scope for the Handle just like with the winId case in QWidget.
2) "const" qualifier is now added for the method.
Here you can see the documentation that it is empty:
http://qt-project.org/doc/qt-5/qserialport.html#handle
Change-Id: I5e9e0732cfd746a863de523fe90e58eafa42c081
Reviewed-by: Alex Henrie <alexhenrie24@gmail.com>
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
-rw-r--r-- | src/serialport/qserialport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialport/qserialport.cpp b/src/serialport/qserialport.cpp index 5d9442e..1fca425 100644 --- a/src/serialport/qserialport.cpp +++ b/src/serialport/qserialport.cpp @@ -1279,7 +1279,7 @@ bool QSerialPort::waitForReadyRead(int msecs) } /*! - \fn QSerialPort::Handle QSerialPort::handle() + \fn Handle QSerialPort::handle() const \since 5.2 Returns the native serial port descriptor of the object. If the serial port |