From 19694f199b556390382d3663de7bcbbf76760692 Mon Sep 17 00:00:00 2001
From: Puck Meerburg <puck@puckipedia.nl>
Date: Tue, 9 Dec 2014 21:51:58 +0100
Subject: [PATCH] DriveSetup: Also mount BDiskDevices which contain a file
system.
---
src/apps/drivesetup/MainWindow.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/apps/drivesetup/MainWindow.cpp b/src/apps/drivesetup/MainWindow.cpp
index 046ccf2..2820c7a 100644
a
|
b
|
public:
|
150 | 150 | |
151 | 151 | virtual bool Visit(BDiskDevice* device) |
152 | 152 | { |
| 153 | if (device->ContainsFileSystem()) |
| 154 | device->Mount(); |
| 155 | |
153 | 156 | return false; // Don't stop yet! |
154 | 157 | } |
155 | 158 | |