Skip to content

Correct reference to NetworkPacket in isValidIdentityPacket calls

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.

Merge request reports