Temporarily allow read-only devices.
This way the KPMcore libpartedbackend scanner won't filter out Parted devices of type UNKNOWN. CAL-349
This commit is contained in:
parent
abfd1f5a5d
commit
fc4a8b8628
@ -112,7 +112,7 @@ void
|
|||||||
PartitionCoreModule::init()
|
PartitionCoreModule::init()
|
||||||
{
|
{
|
||||||
CoreBackend* backend = CoreBackendManager::self()->backend();
|
CoreBackend* backend = CoreBackendManager::self()->backend();
|
||||||
auto devices = backend->scanDevices( true );
|
auto devices = backend->scanDevices( false );
|
||||||
|
|
||||||
// Remove the device which contains / from the list
|
// Remove the device which contains / from the list
|
||||||
for ( auto it = devices.begin(); it != devices.end(); )
|
for ( auto it = devices.begin(); it != devices.end(); )
|
||||||
|
Loading…
Reference in New Issue
Block a user