diff options
author | Kai Köhne <kai.koehne@qt.io> | 2021-07-19 15:00:44 +0200 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2021-10-22 16:18:40 +0200 |
commit | 54f8ad0ffc4b9ee051644212b126a2c4dd10dd8f (patch) | |
tree | c3b3ae7065b50ecfa0d10fd71e7b385f32c3617a /src | |
parent | 4e942a073923db5e481372cc196bbdb163201f64 (diff) | |
download | qtserialport-54f8ad0ffc4b9ee051644212b126a2c4dd10dd8f.tar.gz |
Doc: Fix base class for OpenMode flags
Pick-to: 6.2
Change-Id: Iad037b6cf87cf847814baa6144fb62f66577cc3a
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/serialport/qserialport.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/serialport/qserialport.cpp b/src/serialport/qserialport.cpp index fc6b204..bc9504c 100644 --- a/src/serialport/qserialport.cpp +++ b/src/serialport/qserialport.cpp @@ -472,10 +472,10 @@ QString QSerialPort::portName() const not set any of the port settings successfully. In that case, the port is closed automatically not to leave the port around with incorrect settings. - \warning The \a mode has to be QIODevice::ReadOnly, QIODevice::WriteOnly, - or QIODevice::ReadWrite. Other modes are unsupported. + \warning The \a mode has to be QIODeviceBase::ReadOnly, QIODeviceBase::WriteOnly, + or QIODeviceBase::ReadWrite. Other modes are unsupported. - \sa QIODevice::OpenMode, setPort() + \sa QIODeviceBase::OpenMode, setPort() */ bool QSerialPort::open(OpenMode mode) { |