devicenotifier: Fix ejecting busy optical media
- devicenotifier: Fix ejecting busy optical media
The eject signal comes from the drive but we need to correlate it to the optical disc in order to check for busy applications.
- Put in an optical disc, opened it in xterm (so bash would block it being unmounted), then tried to eject it
Plasma no longer asserts but says that it is still open in bash
Got missing in the port away from the data engine, cf original code https://invent.kde.org/plasma/plasma-workspace/-/blob/Plasma/6.0/dataengines/devicenotifications/ksolidnotify.cpp?ref_type=heads#L176
Edited by Kai Uwe Broulik