[KFilePlacesModel] Explicitly query for PTP cameras
AbandonedPublic

Authored by broulik on Jun 3 2019, 7:48 AM.

Details

Reviewers
bruns
Group Reviewers
Frameworks
Summary

From what I can tell Solid UDev backend returns all kinds of devices that weren't asked for which resulted in cameras magically working. Now that I'm about to fix that (cf. D21379) cameras would no longer show up in the places panel.

Test Plan
  • Plugged in my phone, set it to PTP Mode (instead of MTP), started Dolphin: Previously with D21379 it wouldn't show up at all. With it a "Camera" item appears as before

Diff Detail

Repository
R241 KIO
Lint
Lint Skipped
Unit
Unit Tests Skipped
broulik created this revision.Jun 3 2019, 7:48 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptJun 3 2019, 7:48 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
broulik requested review of this revision.Jun 3 2019, 7:48 AM

The Solid predicate actually uses Camera.supportedDrivers == 'gphoto' and while this patch worked perfectly fine this morning somehow not nothing works :(

broulik abandoned this revision.May 29 2020, 7:11 AM