From 1a7ee0101a14e40543802942a04f7413d10c8302 Mon Sep 17 00:00:00 2001 From: nils Date: Wed, 8 Oct 2008 16:16:45 +0000 Subject: 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 --- context.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'context.cpp') 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 *uidList) gpgme_op_keylist_end(m_ctx); gpgme_op_delete(m_ctx, key, 1); } + emit keyDBChanged(); } /** Encrypt inBuffer for reciepients-uids, write -- cgit v1.2.3