DriveSetup: Also mount BDiskDevices which contain a file system.
Signed-off-by: Adrien Destugues <pulkomandy@gmail.com> GCI2014, Fixes #6783. * The "Mount All" Tracker menu only mounted partitions, not disks filled directly with a filesystem.
This commit is contained in:
parent
2311bdf24f
commit
b0a48e3844
@ -150,6 +150,9 @@ public:
|
|||||||
|
|
||||||
virtual bool Visit(BDiskDevice* device)
|
virtual bool Visit(BDiskDevice* device)
|
||||||
{
|
{
|
||||||
|
if (device->ContainsFileSystem())
|
||||||
|
device->Mount();
|
||||||
|
|
||||||
return false; // Don't stop yet!
|
return false; // Don't stop yet!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user