aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/model')
-rw-r--r--src/ui/model/GpgKeyTreeProxyModel.cpp5
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()) {