Commit a7f1c589 authored by Raine Makelainen's avatar Raine Makelainen

Merge branch 'jb42801' into 'master'

[systemsettings] Pass "take-ownership" flag when formatting a storage. Fixes JB#42801

See merge request mer-core/nemo-qml-plugin-systemsettings!77
parents 8622fd98 5a826c2a
......@@ -182,6 +182,7 @@ void UDisks2::Monitor::format(const QString &deviceName, const QString &type, co
QVariantHash arguments;
arguments.insert(QStringLiteral("label"), QString(label));
arguments.insert(QStringLiteral("no-block"), true);
arguments.insert(QStringLiteral("take-ownership"), true);
arguments.insert(QStringLiteral("update-partition-type"), true);
if (!passphrase.isEmpty()) {
arguments.insert(QStringLiteral("encrypt.passphrase"), passphrase);
......
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