You should remove this Q_UNUSED macro now.

Also, it's not your fault, but IHMO ```UAVObject *o``` is a poorly chosen variable name. You could probably update it to "obj" (the most commonly used name for this variable), or something more expressive like "uavObject".