Correct reference to NetworkPacket in isValidIdentityPacket calls
requested to merge sredman/kdeconnect-kde:work/sredman/bluetoothlink-fix-isvalididentity into master
Summary
Fix Bluetooth branch build errors for changes in !678 (merged)
Test Plan
Before:
Build errors in bluetoothlinkprovider.cpp due to undefined variable and due to incorrect argument type.
/home/simon/src/kdeconnect-kde/core/backends/bluetooth/bluetoothlinkprovider.cpp:301:56: error: cann
ot convert ‘NetworkPacket’ to ‘NetworkPacket*’
301 | if (!success || !DeviceInfo::isValidIdentityPacket(receivedPacket)) {
| ^~~~~~~~~~~~~~
| |
| NetworkPacket
<snip>
After:
Clean build.