diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2008-10-08 16:16:45 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2008-10-08 16:16:45 +0000 |
commit | 1a7ee0101a14e40543802942a04f7413d10c8302 (patch) | |
tree | 5fe88e6213af7a6e31b4a5f5ae76a4eda199ef46 /context.cpp | |
parent | renamed myCtx to mCtx in gpgwin* (diff) | |
download | gpg4usb-1a7ee0101a14e40543802942a04f7413d10c8302.tar.gz gpg4usb-1a7ee0101a14e40543802942a04f7413d10c8302.zip |
now keylist is refreshed in all keylists (mainwindow and keymgmt ), when one of them changed
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@186 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'context.cpp')
-rw-r--r-- | context.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/context.cpp b/context.cpp index 94a4ea1..be7931e 100644 --- a/context.cpp +++ b/context.cpp @@ -105,6 +105,8 @@ void Context::importKey(QByteArray inBuffer) err = gpgme_op_import(m_ctx, in); checkErr(err); gpgme_data_release(in); + emit keyDBChanged(); + } /** Export Key to QByteArray @@ -200,6 +202,7 @@ void Context::deleteKeys(QList<QString> *uidList) gpgme_op_keylist_end(m_ctx); gpgme_op_delete(m_ctx, key, 1); } + emit keyDBChanged(); } /** Encrypt inBuffer for reciepients-uids, write |