From 99fa22be2484c8e65cf5ebd79a8272678e611814 Mon Sep 17 00:00:00 2001 From: ubbo Date: Thu, 2 Aug 2012 22:38:20 +0000 Subject: 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 --- gpgcontext.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'gpgcontext.cpp') 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; } -- cgit v1.2.3