D11323: [UDevManager] Also explicitly query for cameras

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Mar 15 08:56:33 UTC 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180315/55e41f8e/attachment.html>


More information about the Kde-frameworks-devel mailing list