mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
soliduiserver: reuse variable in SolidUiServer::mountDevice()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
659fbb5e95
commit
b8a3359794
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ int SolidUiServer::mountDevice(const QString &udi)
|
||||||
if (didcryptopen) {
|
if (didcryptopen) {
|
||||||
KAuth::Action cryptcloseaction("org.kde.soliduiserver.mountunmounthelper.cryptclose");
|
KAuth::Action cryptcloseaction("org.kde.soliduiserver.mountunmounthelper.cryptclose");
|
||||||
cryptcloseaction.setHelperID("org.kde.soliduiserver.mountunmounthelper");
|
cryptcloseaction.setHelperID("org.kde.soliduiserver.mountunmounthelper");
|
||||||
cryptcloseaction.addArgument("name", storagevolume->uuid());
|
cryptcloseaction.addArgument("name", deviceuuid);
|
||||||
cryptcloseaction.execute();
|
cryptcloseaction.execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue