D25125: Use KListOpenFilesJob for retrieving apps blocking unmount
David Hallas
noreply at phabricator.kde.org
Sun Nov 3 08:22:11 GMT 2019
hallas created this revision.
hallas added reviewers: Frameworks, broulik, bruns.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
hallas requested review of this revision.
REVISION SUMMARY
Use the KListOpenFilesJob class from KCoreAddons to retrieve the
applications that are blocking an unmount. The KListOpenFilesJob is a
generalized version of the code here.
TEST PLAN
Insert a USB stick
Open a file from the USB stick
Remove the USB stick using the Device Notifier
Notice the error message
REPOSITORY
R120 Plasma Workspace
BRANCH
use_klistopenfilesjob (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D25125
AFFECTED FILES
dataengines/devicenotifications/CMakeLists.txt
dataengines/devicenotifications/ksolidnotify.cpp
dataengines/devicenotifications/ksolidnotify.h
To: hallas, #frameworks, broulik, bruns
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191103/e108bd5f/attachment.html>
More information about the Kde-frameworks-devel
mailing list