Temporarily allow read-only devices.

This way the KPMcore libpartedbackend scanner won't filter out Parted
devices of type UNKNOWN.
CAL-349
main
Teo Mrnjavac 9 years ago
parent abfd1f5a5d
commit fc4a8b8628

@ -112,7 +112,7 @@ void
PartitionCoreModule::init()
{
CoreBackend* backend = CoreBackendManager::self()->backend();
auto devices = backend->scanDevices( true );
auto devices = backend->scanDevices( false );
// Remove the device which contains / from the list
for ( auto it = devices.begin(); it != devices.end(); )

Loading…
Cancel
Save