aboutsummaryrefslogtreecommitdiffstats
path: root/context.cpp
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2008-09-13 14:07:07 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2008-09-13 14:07:07 +0000
commitcea9e89c67f1978c63e362303b88d44df8e7b407 (patch)
tree1c436debfb8051d3b6a5d981a0f1f1612b949d2d /context.cpp
parentsetting privkey to false in constructor of keylist (diff)
downloadgpg4usb-cea9e89c67f1978c63e362303b88d44df8e7b407.tar.gz
gpg4usb-cea9e89c67f1978c63e362303b88d44df8e7b407.zip
no need for else now ;-)
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@162 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'context.cpp')
-rw-r--r--context.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/context.cpp b/context.cpp
index caa9884..7e50cd7 100644
--- a/context.cpp
+++ b/context.cpp
@@ -151,8 +151,6 @@ GpgKeyList Context::listKeys()
while (it != keys.end()) {
if (key->subkeys->keyid == it->id.toStdString())
it->privkey = true;
- else
- it->privkey = false;
it++;
}