diff options
author | saturneric <[email protected]> | 2024-11-18 16:53:29 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-11-18 16:53:55 +0000 |
commit | a5d7cc6aa2951b20064108fadd39eaae3b8472b2 (patch) | |
tree | cc93a20b8be1e1c8571bb8d9ea3c8eba379ed6a6 /src/ui/function/SetOwnerTrustLevel.cpp | |
parent | feat: make primary key and subkey clearly (diff) | |
download | GpgFrontend-a5d7cc6aa2951b20064108fadd39eaae3b8472b2.tar.gz GpgFrontend-a5d7cc6aa2951b20064108fadd39eaae3b8472b2.zip |
feat: add delete subkey function
Diffstat (limited to 'src/ui/function/SetOwnerTrustLevel.cpp')
-rw-r--r-- | src/ui/function/SetOwnerTrustLevel.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/ui/function/SetOwnerTrustLevel.cpp b/src/ui/function/SetOwnerTrustLevel.cpp index d3ca33b3..b0fa8b0f 100644 --- a/src/ui/function/SetOwnerTrustLevel.cpp +++ b/src/ui/function/SetOwnerTrustLevel.cpp @@ -47,8 +47,8 @@ auto SetOwnerTrustLevel::Exec(int channel, const QString& key_id) -> bool { QStringList items; - items << tr("Unknown") << tr("Undefined") << tr("Never") << tr("Marginal") - << tr("Full") << tr("Ultimate"); + items << tr("Undefined") << tr("Never") << tr("Marginal") << tr("Full") + << tr("Ultimate"); bool ok; QString item = QInputDialog::getItem(this, tr("Modify Owner Trust Level"), tr("Trust for the Key Pair:"), items, @@ -69,11 +69,6 @@ auto SetOwnerTrustLevel::Exec(int channel, const QString& key_id) -> bool { } if (trust_level == 0) { - QMessageBox::warning( - this, tr("Warning"), - QString( - tr("Owner Trust Level cannot set to Unknown level, automately " - "changing it into Undefined level."))); trust_level = 1; } |