aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/function/SetOwnerTrustLevel.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-12 06:02:37 +0000
committersaturneric <[email protected]>2024-01-12 06:02:37 +0000
commitbf538056b24a68b8fd235b1c50991ee8eb46a776 (patch)
treee1bab54095b80df62b321fb5bd69453f9f951b05 /src/ui/function/SetOwnerTrustLevel.cpp
parentfeat: improve api and ui of keys import and export (diff)
downloadGpgFrontend-bf538056b24a68b8fd235b1c50991ee8eb46a776.tar.gz
GpgFrontend-bf538056b24a68b8fd235b1c50991ee8eb46a776.zip
refactor: use QString instead of std::string and improve threading system
Diffstat (limited to '')
-rw-r--r--src/ui/function/SetOwnerTrustLevel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/function/SetOwnerTrustLevel.cpp b/src/ui/function/SetOwnerTrustLevel.cpp
index 290b1436..91917961 100644
--- a/src/ui/function/SetOwnerTrustLevel.cpp
+++ b/src/ui/function/SetOwnerTrustLevel.cpp
@@ -37,8 +37,8 @@ namespace GpgFrontend::UI {
SetOwnerTrustLevel::SetOwnerTrustLevel(QWidget* parent) : QWidget(parent) {}
-auto SetOwnerTrustLevel::Exec(const std::string& key_id) -> bool {
- if (key_id.empty()) {
+auto SetOwnerTrustLevel::Exec(const QString& key_id) -> bool {
+ if (key_id.isEmpty()) {
return false;
}