Commit 77e1894f authored by Raine Makelainen's avatar Raine Makelainen

[nemo-systemsettings] Show also /dev/sd[a-z] devices in paritition model. Contributes to JB#39820

parent 7e5b5d3e
......@@ -186,7 +186,7 @@ void PartitionManagerPrivate::refresh()
partitionFile.readLine();
static const QRegularExpression whitespace(QStringLiteral("\\s+"));
static const QRegularExpression externalMedia(QStringLiteral("^mmcblk(?!0)\\d+(?:p\\d+$)?"));
static const QRegularExpression externalMedia(QStringLiteral("^mmcblk(?!0)\\d+(?:p\\d+$)?|^sd[a-z](\\d+)$"));
static const QRegularExpression deviceRoot(QStringLiteral("^mmcblk\\d+$"));
while (!partitionFile.atEnd()) {
......
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