diff options
author | Andreas Buhr <andreas.buhr@qt.io> | 2021-08-23 14:50:28 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-09-01 20:15:49 +0000 |
commit | 9026c2fa360612932ae74b49b333e1ecf7b9172d (patch) | |
tree | a72ebf5b7835279a5fb7e76d874350091b3d6bd8 /src/bluetooth/qbluetoothsocketbase_p.h | |
parent | 3ce6b0ad540d2846d936d35cd1fc23c725acad74 (diff) | |
download | qtconnectivity-9026c2fa360612932ae74b49b333e1ecf7b9172d.tar.gz |
Better naming of member variables in QBluetoothSocketBasePrivate
There was a naming asymmetry in QBluetoothSocketBasePrivate:
The receiving buffer was named "buffer" while the sending buffer
was named "txBuffer". This was really annoying. This patch renames
the receiving buffer to "rxBuffer" so we have symmetric names:
"rxBuffer" / "txBuffer".
Change-Id: Ifbd5032cd5f6229543525496f6f656b7b7fc2e25
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit dfa11d982c8414083d6ed777f743cd078e53f972)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/bluetooth/qbluetoothsocketbase_p.h')
-rw-r--r-- | src/bluetooth/qbluetoothsocketbase_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/qbluetoothsocketbase_p.h b/src/bluetooth/qbluetoothsocketbase_p.h index 80b905dc..b50f9437 100644 --- a/src/bluetooth/qbluetoothsocketbase_p.h +++ b/src/bluetooth/qbluetoothsocketbase_p.h @@ -148,7 +148,7 @@ public: #endif public: - QPrivateLinearBuffer buffer; + QPrivateLinearBuffer rxBuffer; QPrivateLinearBuffer txBuffer; int socket = -1; QBluetoothServiceInfo::Protocol socketType = QBluetoothServiceInfo::UnknownProtocol; |