Ticket #6783: 0001-DriveSetup-Also-mount-BDiskDevices-which-contain-a-f.patch

File 0001-DriveSetup-Also-mount-BDiskDevices-which-contain-a-f.patch, 701 bytes (added by puckipedia, 10 years ago)
  • src/apps/drivesetup/MainWindow.cpp

    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:  
    150150
    151151    virtual bool Visit(BDiskDevice* device)
    152152    {
     153        if (device->ContainsFileSystem())
     154            device->Mount();
     155
    153156        return false; // Don't stop yet!
    154157    }
    155158