Skip to content

Commit

Permalink
Update bluetooth.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
cagnulein committed May 21, 2024
1 parent 938c7ba commit f89914e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/devices/bluetooth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ void bluetooth::setLastBluetoothDevice(const QBluetoothDeviceInfo &b) {
#endif
}

// this doesn't work on Windows. So be careful!
bool bluetooth::deviceHasService(const QBluetoothDeviceInfo &device, QBluetoothUuid service) {
foreach(QBluetoothUuid s, device.serviceUuids()) {
if(s == service) {
Expand Down

0 comments on commit f89914e

Please sign in to comment.