aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/MainWindowSlotFunction.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-04 16:03:18 +0000
committerSaturneric <[email protected]>2022-01-04 16:03:18 +0000
commitc2f05ec557ec53f62872e19cc463257481421e4f (patch)
tree9fd060663bca9f34cf3126e2a4c7cd4728159e9b /src/ui/main_window/MainWindowSlotFunction.cpp
parent<fix, refactor>(core, ui): fixed known bugs for v2.0.4-beta.1. (diff)
downloadGpgFrontend-c2f05ec557ec53f62872e19cc463257481421e4f.tar.gz
GpgFrontend-c2f05ec557ec53f62872e19cc463257481421e4f.zip
<feature, fix>(core, ui): support file symmetric encryption.
1. improve ui for file & text symmetric encryption.
Diffstat (limited to '')
-rw-r--r--src/ui/main_window/MainWindowSlotFunction.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/main_window/MainWindowSlotFunction.cpp b/src/ui/main_window/MainWindowSlotFunction.cpp
index d5aa262a..57fb5bae 100644
--- a/src/ui/main_window/MainWindowSlotFunction.cpp
+++ b/src/ui/main_window/MainWindowSlotFunction.cpp
@@ -59,11 +59,11 @@ void MainWindow::slotEncrypt() {
if (key_ids->empty()) {
// Symmetric Encrypt
- auto ret =
- QMessageBox::warning(this, _("Warning"),
- _("No Key Selected. Do you want to encrypt with a "
- "symmetric cipher using a passphrase?"),
- QMessageBox::Ok | QMessageBox::Cancel);
+ auto ret = QMessageBox::information(
+ this, _("Symmetric Encryption"),
+ _("No Key Selected. Do you want to encrypt with a "
+ "symmetric cipher using a passphrase?"),
+ QMessageBox::Ok | QMessageBox::Cancel);
if (ret == QMessageBox::Cancel) return;