aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/MainWindowGpgOperaFunction.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/main_window/MainWindowGpgOperaFunction.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 'src/ui/main_window/MainWindowGpgOperaFunction.cpp')
-rw-r--r--src/ui/main_window/MainWindowGpgOperaFunction.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/main_window/MainWindowGpgOperaFunction.cpp b/src/ui/main_window/MainWindowGpgOperaFunction.cpp
index 1efff3df..cf7e2d68 100644
--- a/src/ui/main_window/MainWindowGpgOperaFunction.cpp
+++ b/src/ui/main_window/MainWindowGpgOperaFunction.cpp
@@ -98,7 +98,7 @@ void MainWindow::SlotEncrypt() {
_("The selected key contains a key that does not actually have a "
"encrypt usage.")) +
"<br/><br/>" + _("For example the Following Key:") + " <br/>" +
- QString::fromStdString(key.GetUIDs()->front().GetUID()));
+ key.GetUIDs()->front().GetUID());
return;
}
}
@@ -152,7 +152,7 @@ void MainWindow::SlotSign() {
_("The selected key contains a key that does not actually have a "
"signature usage.")) +
"<br/><br/>" + _("For example the Following Key:") + "<br/>" +
- key.GetUIDs()->front().GetUID().c_str());
+ key.GetUIDs()->front().GetUID());
return;
}
}
@@ -267,7 +267,7 @@ void MainWindow::SlotEncryptSign() {
this, _("Invalid KeyPair"),
QString(_("The selected keypair cannot be used for encryption.")) +
"<br/><br/>" + _("For example the Following Key:") + " <br/>" +
- QString::fromStdString(key.GetUIDs()->front().GetUID()));
+ key.GetUIDs()->front().GetUID());
return;
}
}