Pass a pointer to the parent widget to decrypt dialog.
This commit is contained in:
parent
0d76d71fc4
commit
b0cf50e443
|
@ -431,7 +431,7 @@ void PartitionManagerWidget::onDecryptPartition()
|
|||
return;
|
||||
|
||||
if (luksFs->canCryptOpen(p->partitionPath())) {
|
||||
if (!luksFs->cryptOpen(p->partitionPath()))
|
||||
if (!luksFs->cryptOpen(this, p->partitionPath()))
|
||||
KMessageBox::detailedSorry(this,
|
||||
xi18nc("@info",
|
||||
"The encrypted file system on partition "
|
||||
|
|
Loading…
Reference in New Issue