Commit 62bc140a authored by Ahmad Samir's avatar Ahmad Samir Committed by Ingo Klöcker
Browse files

Use KeyCache::instance() in connect() calls

parent 3888a930
Pipeline #174497 passed with stage
in 4 minutes and 37 seconds
......@@ -172,8 +172,8 @@ KeyListController::Private::Private(KeyListController *qq)
flatModel(),
hierarchicalModel()
{
connect(KeyCache::mutableInstance().get(), &KeyCache::added, q, [this](const GpgME::Key &key) { slotAddKey(key); });
connect(KeyCache::mutableInstance().get(), &KeyCache::aboutToRemove, q, [this](const GpgME::Key &key) { slotAboutToRemoveKey(key); });
connect(KeyCache::instance().get(), &KeyCache::added, q, [this](const GpgME::Key &key) { slotAddKey(key); });
connect(KeyCache::instance().get(), &KeyCache::aboutToRemove, q, [this](const GpgME::Key &key) { slotAboutToRemoveKey(key); });
}
KeyListController::Private::~Private() {}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment