Commit 8dedbcdf authored by Stefan Brüns's avatar Stefan Brüns
Browse files

Make automounting work even if StorageAccess is ignored

There is no reason to make mounting dependent on the StorageAccess.ignore
flag, which just serves a a hint for visualization.

This change sneaked in when porting to KF5, no justification given.

BUG: 389479

Reviewers: ngraham, #plasma, broulik

Reviewed By: ngraham

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 4a2b271f
......@@ -67,9 +67,6 @@ void DeviceAutomounter::automountDevice(Solid::Device &dev, AutomounterSettings:
if (<Solid::StorageVolume>() &&<Solid::StorageAccess>()) {
Solid::StorageAccess *sa =<Solid::StorageAccess>();
if (sa->isIgnored()) {
AutomounterSettings::setDeviceLastSeenMounted(dev.udi(), sa->isAccessible());
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment