Add signals for udev events with actions bind and unbind
ClosedPublic

Authored by meven on Jan 30 2020, 11:02 AM.

Details

Summary

Prevents warnings such as :

UdevQt: unhandled device action "bind"
UdevQt: unhandled device action "unbind"

When pluging in/out usb sticks

Diff Detail

Repository
R245 Solid
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 21848
Build 21866: arc lint + arc unit
meven created this revision.Jan 30 2020, 11:02 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptJan 30 2020, 11:02 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
meven requested review of this revision.Jan 30 2020, 11:02 AM
meven edited reviewers, added: ervin; removed: Plasma.Jan 30 2020, 11:02 AM
broulik requested changes to this revision.Jan 30 2020, 11:51 AM
broulik added inline comments.
src/solid/devices/backends/shared/udevqtclient.cpp
119 ↗(On Diff #74671)

Can you instead add signals for those, just for completeness' sake? deviceOnlined is also not used but still exists

This revision now requires changes to proceed.Jan 30 2020, 11:51 AM
meven retitled this revision from Ignore udev monitoring notifications with actions bind and unbind to Add signals for udev events with actions bind and unbind.Jan 30 2020, 12:42 PM
meven updated this revision to Diff 74683.Jan 30 2020, 12:44 PM

Add signals for bind/unbind actions

meven marked an inline comment as done.Jan 30 2020, 12:45 PM

I think it's "bound"

broulik accepted this revision.Jan 30 2020, 12:49 PM
This revision is now accepted and ready to land.Jan 30 2020, 12:49 PM
meven updated this revision to Diff 74684.Jan 30 2020, 12:50 PM

s/binded/ound

This revision was automatically updated to reflect the committed changes.