diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-08-02 22:38:20 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-08-02 22:38:20 +0000 |
commit | 99fa22be2484c8e65cf5ebd79a8272678e611814 (patch) | |
tree | 30ffa76bd57bb702c588b0b1d51a5f00471baa7c /gpgcontext.cpp | |
parent | getKeyDetails kind of works (diff) | |
download | gpg4usb-99fa22be2484c8e65cf5ebd79a8272678e611814.tar.gz gpg4usb-99fa22be2484c8e65cf5ebd79a8272678e611814.zip |
fix crash, what todo with secres keys?
git-svn-id: http://cpunk.de/svn/src/gpg4usb/branches/0.3.2-mac@929 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'gpgcontext.cpp')
-rw-r--r-- | gpgcontext.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gpgcontext.cpp b/gpgcontext.cpp index 8de7d9c..aa2c3da 100644 --- a/gpgcontext.cpp +++ b/gpgcontext.cpp @@ -211,12 +211,16 @@ KgpgCore::KgpgKey GpgContext::getKeyDetails(QString uid) { //KgpgCore::KgpgKey key; // try secret + /*qDebug() << "blubb"; KgpgCore::KgpgKey key = KgpgInterface::readSecretKeys(QStringList() << uid).first(); + qDebug() << "bla"; + qDebug() << "id: " << key.id(); + // ok, its a public key - if (key.id() == "") { + if (key.id() == "") {*/ KgpgCore::KgpgKey key = KgpgInterface::readPublicKeys(QStringList() << uid).first(); - } + //} return key; } |