aboutsummaryrefslogtreecommitdiffstats
path: root/gpgwin.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-08-23 18:50:24 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-08-23 18:50:24 +0000
commit6dd965df7ec9c33d508b24b08b4181a5ebfb46ae (patch)
tree8aec5ab335b61e2111a5b36d98105b4f49afa93c /gpgwin.cpp
parentadded icons for sign and verify and the actions to toolbar (diff)
downloadgpg4usb-6dd965df7ec9c33d508b24b08b4181a5ebfb46ae.tar.gz
gpg4usb-6dd965df7ec9c33d508b24b08b4181a5ebfb46ae.zip
show appropriate filename in key export to file
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@519 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'gpgwin.cpp')
-rw-r--r--gpgwin.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/gpgwin.cpp b/gpgwin.cpp
index ab8efd1..3b0642b 100644
--- a/gpgwin.cpp
+++ b/gpgwin.cpp
@@ -851,20 +851,16 @@ void GpgWin::importKeyDialog()
void GpgWin::appendSelectedKeys()
{
QByteArray *keyArray = new QByteArray();
-
mCtx->exportKeys(mKeyList->getSelected(), keyArray);
edit->curTextPage()->appendPlainText(*keyArray);
}
void GpgWin::copyMailAddressToClipboard()
{
-
gpgme_key_t key = mCtx->getKeyDetails(mKeyList->getSelected()->first());
QClipboard *cb = QApplication::clipboard();
- mCtx->importKey(cb->text(QClipboard::Clipboard).toAscii());
QString mail = key->uids->email;
cb->setText(mail);
- //edit->curTextPage()->appendPlainText(*keyArray);
}
void GpgWin::showKeyDetails()