From ad684b035257e175295e1e93f0fa4e8d3edf87b1 Mon Sep 17 00:00:00 2001 From: Nils Achtergarde Date: Sat, 30 Dec 2017 23:37:03 +0100 Subject: recommit of a772d1426463d5f4913b5252530b81d1d2cca7dd (remove obsolete EncryptAndDecrypt logic from filemenu) --- mainwindow.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'mainwindow.cpp') diff --git a/mainwindow.cpp b/mainwindow.cpp index 119aee1..1a698ea 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -916,29 +916,30 @@ void MainWindow::slotFileEncrypt() { QStringList *keyList; keyList = mKeyList->getChecked(); - new FileEncryptionDialog(mCtx, *keyList, this, FileEncryptionDialog::Encrypt); + new FileEncryptionDialog(mCtx, *keyList, FileEncryptionDialog::Encrypt, this); } void MainWindow::slotFileDecrypt() { QStringList *keyList; keyList = mKeyList->getChecked(); - new FileEncryptionDialog(mCtx, *keyList, this, FileEncryptionDialog::Decrypt); + new FileEncryptionDialog(mCtx, *keyList, FileEncryptionDialog::Decrypt, this); } void MainWindow::slotFileSign() { QStringList *keyList; keyList = mKeyList->getChecked(); - new FileEncryptionDialog(mCtx, *keyList, this, FileEncryptionDialog::Sign); + new FileEncryptionDialog(mCtx, *keyList, FileEncryptionDialog::Sign, this); } void MainWindow::slotFileVerify() { QStringList *keyList; keyList = mKeyList->getChecked(); - new FileEncryptionDialog(mCtx, *keyList, this, FileEncryptionDialog::Verify); + new FileEncryptionDialog(mCtx, *keyList, FileEncryptionDialog::Verify, this); } + void MainWindow::slotOpenSettingsDialog() { -- cgit v1.2.3