broulik added a comment.
> didn't we establish that devicesByProperty didn't work? It didn't work for media players where we query for `QVariant()` which turns into `nullptr` since there is no documentation on what that actually does (remove filter or check for property existance). Explicitly checking for `1` which we do here works fine, though. REPOSITORY R245 Solid REVISION DETAIL https://phabricator.kde.org/D11323 To: broulik, #frameworks, davidedmundson Cc: michaelh, ngraham