diff options
author | saturneric <[email protected]> | 2025-04-17 15:28:04 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-04-17 15:28:04 +0000 |
commit | e276f9e86b161362d6f379ab790476936a0e6208 (patch) | |
tree | 65c27e3efcbf113a052bc053e1c2739f4a351217 /src/ui/model/GpgKeyTreeProxyModel.cpp | |
parent | fix: compiler issues on CI (diff) | |
download | GpgFrontend-e276f9e86b161362d6f379ab790476936a0e6208.tar.gz GpgFrontend-e276f9e86b161362d6f379ab790476936a0e6208.zip |
feat: generate cark keys
Diffstat (limited to 'src/ui/model/GpgKeyTreeProxyModel.cpp')
-rw-r--r-- | src/ui/model/GpgKeyTreeProxyModel.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/model/GpgKeyTreeProxyModel.cpp b/src/ui/model/GpgKeyTreeProxyModel.cpp index bff18dd6..4dd645e9 100644 --- a/src/ui/model/GpgKeyTreeProxyModel.cpp +++ b/src/ui/model/GpgKeyTreeProxyModel.cpp @@ -59,9 +59,10 @@ auto GpgKeyTreeProxyModel::filterAcceptsRow( : nullptr; const auto *key = i->Key(); + assert(key != nullptr && key->IsGood()); LOG_D() << "get key: " << key->ID() - << "from channel: " << model_->GetGpgContextChannel(); - assert(key->IsGood()); + << "from channel: " << model_->GetGpgContextChannel() + << "fingerprint: " << key->Fingerprint(); if (!(display_mode_ & GpgKeyTreeDisplayMode::kPRIVATE_KEY) && key->IsPrivateKey()) { |