diff options
author | Kai Köhne <kai.koehne@qt.io> | 2021-07-19 15:00:44 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-10-22 16:15:40 +0000 |
commit | 0c48d92af47d57cf6f632cfaac4fc7eb811d9d07 (patch) | |
tree | a2aeea622da7eca8c77d3a528a91921d21d22004 | |
parent | 4c5414cafeafcbccf0eba6c160e18beeb5ace2bd (diff) | |
download | qtserialport-0c48d92af47d57cf6f632cfaac4fc7eb811d9d07.tar.gz |
Doc: Fix base class for OpenMode flags
Change-Id: Iad037b6cf87cf847814baa6144fb62f66577cc3a
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 54f8ad0ffc4b9ee051644212b126a2c4dd10dd8f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-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) { |