Commit f4375b53 authored by Raine Makelainen's avatar Raine Makelainen

Merge branch 'jb36851' into 'master'

[nemo-storage] Accept a partition even if it's not mountable or encrypted. Fixes JB#36851

See merge request mer-core/nemo-qml-plugin-systemsettings!97
parents cf036f26 c3ebca38
......@@ -284,7 +284,7 @@ void BlockDevices::complete(Block *block, bool forceAccept)
});
}
bool willAccept = !unlocked && (block->isMountable() || block->isEncrypted() || block->isFormatting() || forceAccept);
bool willAccept = !unlocked && (block->isPartition() || block->isMountable() || block->isEncrypted() || block->isFormatting() || forceAccept);
qCInfo(lcMemoryCardLog) << "Completed block" << qPrintable(block->path())
<< "is" << (willAccept ? "accepted" : "rejected");
block->dumpInfo();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment