diff options
author | Marc Mutz <marc.mutz@qt.io> | 2023-08-10 17:42:57 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2023-08-11 11:20:30 +0200 |
commit | a2944859ac2a6a13100b5a06c681fb477231e52a (patch) | |
tree | 607f4ca759b3a3a3b2d779bafe5c056e7b85ef92 /src/bluetooth/qbluetoothuuid.h | |
parent | 1d490e1df536ac91604fc8bfdc448877e7faec49 (diff) |
QBluetoothUuid: add missing Endian argument to Id128Bytes ctor
The base class has it, so QBluetoothUuid also has to have it, too, for
API symmetry.
Adapt the docs to be more like QUuid's for the same function, even
though those may still be improved in qtbase (in which case we
shouldn't forget to re-sync them here).
Found in API-review.
Pick-to: 6.6
Change-Id: If13df1e7551235e2c9f57ba0e8729d7f2a6d494c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/bluetooth/qbluetoothuuid.h')
-rw-r--r-- | src/bluetooth/qbluetoothuuid.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothuuid.h b/src/bluetooth/qbluetoothuuid.h index d599c573..30641d35 100644 --- a/src/bluetooth/qbluetoothuuid.h +++ b/src/bluetooth/qbluetoothuuid.h @@ -352,8 +352,8 @@ public: : QUuid(uuid, 0x0, 0x1000, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb) {}; explicit QBluetoothUuid(quint128 uuid); - explicit QBluetoothUuid(QUuid::Id128Bytes uuid) noexcept - : QUuid(uuid) {}; + explicit QBluetoothUuid(Id128Bytes uuid, QSysInfo::Endian order = QSysInfo::BigEndian) noexcept + : QUuid(uuid, order) {}; explicit QBluetoothUuid(const QString &uuid); QBluetoothUuid(const QBluetoothUuid &uuid) = default; QBluetoothUuid(const QUuid &uuid); |