diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2008-09-12 13:33:12 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2008-09-12 13:33:12 +0000 |
commit | 25c51ac7b4d03be29c85c20156e020dd623ed6b1 (patch) | |
tree | a776d34ee413a8d92f949a8047daa3a1a39201dc /context.cpp | |
parent | fix for undefined int privkey (diff) | |
download | gpg4usb-25c51ac7b4d03be29c85c20156e020dd623ed6b1.tar.gz gpg4usb-25c51ac7b4d03be29c85c20156e020dd623ed6b1.zip |
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
Diffstat (limited to 'context.cpp')
-rw-r--r-- | context.cpp | 4 |
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++; } |