aboutsummaryrefslogtreecommitdiffstats
path: root/gpgwin.cpp
diff options
context:
space:
mode:
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()