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:
Puck Meerburg 2014-12-09 21:51:58 +01:00 committed by Adrien Destugues
parent 2311bdf24f
commit b0a48e3844

View File

@ -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!
} }