diff options
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()) { |