~ubuntu-branches/ubuntu/utopic/psi/utopic

« back to all changes in this revision

Viewing changes to src/pgpkeydlg.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2009-09-25 17:49:51 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090925174951-lvm7kdap82o8xhn3
Tags: 0.13-1
* Updated to upstream version 0.13
* Set Standards-Version to 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
        foreach(QCA::KeyStore *ks, PGPUtil::instance().keystores_) {
60
60
                if (ks->type() == QCA::KeyStore::PGPKeyring && ks->holdsIdentities()) {
61
61
                        foreach(QCA::KeyStoreEntry ke, ks->entryList()) {
62
 
                                if (t == Public && ke.type() == QCA::KeyStoreEntry::TypePGPPublicKey || ke.type() == QCA::KeyStoreEntry::TypePGPSecretKey) {
 
62
                                if ((t == Public && ke.type() == QCA::KeyStoreEntry::TypePGPPublicKey) || (ke.type() == QCA::KeyStoreEntry::TypePGPSecretKey)) {
63
63
                                        KeyViewItem *i = new KeyViewItem(ke, ui_.lv_keys);
64
64
                                        i->setText(0, ke.id().right(8));
65
65
                                        i->setText(1, ke.name());