diff options
author | Saturneric <[email protected]> | 2021-12-14 11:28:53 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-14 11:28:53 +0000 |
commit | 50efbe1fcc7d0ebf5dd814a36602f88ec01d2b3a (patch) | |
tree | f64a58f0572b6af09323273b073e39fda78dff33 /src/ui/main_window/MainWindowFileSlotFunction.cpp | |
parent | Add Deb Build Support & Install Support For Linux. (diff) | |
download | GpgFrontend-50efbe1fcc7d0ebf5dd814a36602f88ec01d2b3a.tar.gz GpgFrontend-50efbe1fcc7d0ebf5dd814a36602f88ec01d2b3a.zip |
Modified Core to Optimization & Fixed Problem
1. GpgKey copy ability
2. GpgXXResult type to shared_ptr
3. KeyList Optimization
4. Fixed Loading Dialog Problem
Diffstat (limited to 'src/ui/main_window/MainWindowFileSlotFunction.cpp')
-rw-r--r-- | src/ui/main_window/MainWindowFileSlotFunction.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/main_window/MainWindowFileSlotFunction.cpp b/src/ui/main_window/MainWindowFileSlotFunction.cpp index 535f47af..2a2c9be9 100644 --- a/src/ui/main_window/MainWindowFileSlotFunction.cpp +++ b/src/ui/main_window/MainWindowFileSlotFunction.cpp @@ -289,7 +289,7 @@ void MainWindow::slotFileVerify() { }); if (!if_error) { - auto result_analyse = VerifyResultAnalyse(error, std::move(result)); + auto result_analyse = VerifyResultAnalyse(error, result); result_analyse.analyse(); process_result_analyse(edit, infoBoard, result_analyse); @@ -297,7 +297,7 @@ void MainWindow::slotFileVerify() { import_unknown_key_from_keyserver(this, result_analyse); if (result_analyse.getStatus() >= 0) - show_verify_details(this, infoBoard, error, result_analyse); + show_verify_details(this, infoBoard, error, result); fileTreeView->update(); } else { @@ -431,7 +431,7 @@ void MainWindow::slotFileDecryptVerify() { if (!if_error) { auto decrypt_res = DecryptResultAnalyse(error, std::move(d_result)); - auto verify_res = VerifyResultAnalyse(error, std::move(v_result)); + auto verify_res = VerifyResultAnalyse(error, v_result); decrypt_res.analyse(); verify_res.analyse(); process_result_analyse(edit, infoBoard, decrypt_res, verify_res); @@ -440,7 +440,7 @@ void MainWindow::slotFileDecryptVerify() { import_unknown_key_from_keyserver(this, verify_res); if (verify_res.getStatus() >= 0) - show_verify_details(this, infoBoard, error, verify_res); + show_verify_details(this, infoBoard, error, v_result); fileTreeView->update(); } else { |