aboutsummaryrefslogtreecommitdiffstats
path: root/context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'context.cpp')
-rw-r--r--context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/context.cpp b/context.cpp
index 47188fb..caa9884 100644
--- a/context.cpp
+++ b/context.cpp
@@ -150,9 +150,9 @@ GpgKeyList Context::listKeys()
GpgKeyList::iterator it = keys.begin();
while (it != keys.end()) {
if (key->subkeys->keyid == it->id.toStdString())
- it->privkey = 1;
+ it->privkey = true;
else
- it->privkey = 0;
+ it->privkey = false;
it++;
}