diff options
author | Nils Achtergarde <[email protected]> | 2017-12-30 22:37:03 +0000 |
---|---|---|
committer | Nils Achtergarde <[email protected]> | 2017-12-30 22:37:03 +0000 |
commit | ad684b035257e175295e1e93f0fa4e8d3edf87b1 (patch) | |
tree | f3992d59f75a8fa4713b2593f5525ae3888c64a6 /mainwindow.cpp | |
parent | recommit of a3cba1ba9996400acc43d133f8941fef84dd323f (add gui elements for si... (diff) | |
download | gpg4usb-ad684b035257e175295e1e93f0fa4e8d3edf87b1.tar.gz gpg4usb-ad684b035257e175295e1e93f0fa4e8d3edf87b1.zip |
recommit of a772d1426463d5f4913b5252530b81d1d2cca7dd (remove obsolete EncryptAndDecrypt logic from filemenu)
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r-- | mainwindow.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
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() { |