diff options
Diffstat (limited to 'src/ui/function/SetOwnerTrustLevel.cpp')
-rw-r--r-- | src/ui/function/SetOwnerTrustLevel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/function/SetOwnerTrustLevel.cpp b/src/ui/function/SetOwnerTrustLevel.cpp index a15f3525..d3ca33b3 100644 --- a/src/ui/function/SetOwnerTrustLevel.cpp +++ b/src/ui/function/SetOwnerTrustLevel.cpp @@ -77,8 +77,8 @@ auto SetOwnerTrustLevel::Exec(int channel, const QString& key_id) -> bool { trust_level = 1; } - bool status = - GpgKeyManager::GetInstance().SetOwnerTrustLevel(key, trust_level); + bool status = GpgKeyManager::GetInstance(channel).SetOwnerTrustLevel( + key, trust_level); if (!status) { QMessageBox::critical(this, tr("Failed"), tr("Modify Owner Trust Level failed.")); |