┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontextmenu.cpp
diff options
context:
space:
mode:
authorThomas Surrel <[email protected]>2018-11-13 11:05:16 +0100
committerThomas Surrel <[email protected]>2018-11-17 14:43:41 +0100
commite710a6431160aee57b1eab34b11dfe64e341898c (patch)
tree2cda6c0ea210325a3ef49bb63368e60eacb9c458 /src/dolphincontextmenu.cpp
parentc900f7d255aa8fb326cf20f598a5de1a1edbcfe9 (diff)
Do not disconnect all StorageAccess signals when unmounting
Summary: The problem is caused by the fact device interfaces returned by Solid (e.g. item->device().as<Solid::StorageAccess>()) are not full objects, but only references/pointers to a per-device-object, i.e. requesting the same interface for a device will return the same address every time. If the interface is used used in multiple places, calling disconnect on the interface address disconnects the signals for all users. BUG: 400992 Test Plan: In Dolphin, mount a local partition (e.g. a Windows partition) then unmount it (right click on it in Places, then Unmount). Try to access it again by clicking on it in Places, we should get access to it correctly. Reviewers: #dolphin, #frameworks, bruns, elvisangelaccio Reviewed By: #dolphin, elvisangelaccio Subscribers: elvisangelaccio, kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D16857
Diffstat (limited to 'src/dolphincontextmenu.cpp')
0 files changed, 0 insertions, 0 deletions