aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/MainWindowFileSlotFunction.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-12-24 06:55:40 +0000
committersaturneric <[email protected]>2023-12-24 06:55:40 +0000
commit8f1844b23ea137e645800c8ed0ec5a50f33787fe (patch)
tree31ee73588483de365654f638478ccb7a11c0a188 /src/ui/main_window/MainWindowFileSlotFunction.cpp
parentfix: test the initialization of gui application (diff)
downloadGpgFrontend-8f1844b23ea137e645800c8ed0ec5a50f33787fe.tar.gz
GpgFrontend-8f1844b23ea137e645800c8ed0ec5a50f33787fe.zip
fix: test the encrypt async api on gui app
Diffstat (limited to 'src/ui/main_window/MainWindowFileSlotFunction.cpp')
-rw-r--r--src/ui/main_window/MainWindowFileSlotFunction.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/ui/main_window/MainWindowFileSlotFunction.cpp b/src/ui/main_window/MainWindowFileSlotFunction.cpp
index 444cc224..fc9401c8 100644
--- a/src/ui/main_window/MainWindowFileSlotFunction.cpp
+++ b/src/ui/main_window/MainWindowFileSlotFunction.cpp
@@ -278,10 +278,10 @@ void MainWindow::SlotFileEncrypt() {
}
if (!if_error) {
- auto resultAnalyse = GpgEncryptResultAnalyse(error, std::move(result));
- resultAnalyse.Analyse();
- process_result_analyse(edit_, info_board_, resultAnalyse);
- fileTreeView->update();
+ // auto resultAnalyse = GpgEncryptResultAnalyse(error, std::move(result));
+ // resultAnalyse.Analyse();
+ // process_result_analyse(edit_, info_board_, resultAnalyse);
+ // fileTreeView->update();
} else {
QMessageBox::critical(this, _("Error"),
_("An error occurred during operation."));
@@ -641,14 +641,14 @@ void MainWindow::SlotFileEncryptSign() {
});
if (!if_error) {
- auto encrypt_result =
- GpgEncryptResultAnalyse(error, std::move(encr_result));
- auto sign_res = GpgSignResultAnalyse(error, std::move(sign_result));
- encrypt_result.Analyse();
- sign_res.Analyse();
- process_result_analyse(edit_, info_board_, encrypt_result, sign_res);
-
- file_tree_view->update();
+ // auto encrypt_result =
+ // GpgEncryptResultAnalyse(error, std::move(encr_result));
+ // auto sign_res = GpgSignResultAnalyse(error, std::move(sign_result));
+ // encrypt_result.Analyse();
+ // sign_res.Analyse();
+ // process_result_analyse(edit_, info_board_, encrypt_result, sign_res);
+
+ // file_tree_view->update();
} else {
QMessageBox::critical(this, _("Error"),