aboutsummaryrefslogtreecommitdiffstats
path: root/mainwindow.cpp
diff options
context:
space:
mode:
authorNils Achtergarde <[email protected]>2017-12-30 22:37:03 +0000
committerNils Achtergarde <[email protected]>2017-12-30 22:37:03 +0000
commitad684b035257e175295e1e93f0fa4e8d3edf87b1 (patch)
treef3992d59f75a8fa4713b2593f5525ae3888c64a6 /mainwindow.cpp
parentrecommit of a3cba1ba9996400acc43d133f8941fef84dd323f (add gui elements for si... (diff)
downloadgpg4usb-ad684b035257e175295e1e93f0fa4e8d3edf87b1.tar.gz
gpg4usb-ad684b035257e175295e1e93f0fa4e8d3edf87b1.zip
recommit of a772d1426463d5f4913b5252530b81d1d2cca7dd (remove obsolete EncryptAndDecrypt logic from filemenu)
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r--mainwindow.cpp9
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()
{