From 25c51ac7b4d03be29c85c20156e020dd623ed6b1 Mon Sep 17 00:00:00 2001 From: nils Date: Fri, 12 Sep 2008 13:33:12 +0000 Subject: use QTableWidget instead of QListWidget in KeyList, use bool for privkey in context git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@160 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- context.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'context.cpp') 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++; } -- cgit