Pass a pointer to the parent widget to decrypt dialog.

This commit is contained in:
Andrius Štikonas 2016-04-29 12:36:32 +01:00
parent 0d76d71fc4
commit b0cf50e443
1 changed files with 1 additions and 1 deletions

View File

@ -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 "