Skip to content

Commit

Permalink
Merge branch 'jb36851' into 'master'
Browse files Browse the repository at this point in the history
[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
  • Loading branch information
rainemak committed Feb 15, 2019
2 parents cf036f2 + c3ebca3 commit f4375b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/udisks2blockdevices.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit f4375b5

Please sign in to comment.