aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/MainWindowFileSlotFunction.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-08-20 11:47:45 +0000
committerSaturneric <[email protected]>2021-08-20 11:47:45 +0000
commit2e27baf284fde00c5fc1d81e1f8bc891b8163766 (patch)
treeafe51202a3e615fcd9c5946f031099f4373332c0 /src/ui/main_window/MainWindowFileSlotFunction.cpp
parentBugs Fixed; (diff)
downloadGpgFrontend-2e27baf284fde00c5fc1d81e1f8bc891b8163766.tar.gz
GpgFrontend-2e27baf284fde00c5fc1d81e1f8bc891b8163766.zip
Improve Functions;
Bugs Fixed;
Diffstat (limited to 'src/ui/main_window/MainWindowFileSlotFunction.cpp')
-rw-r--r--src/ui/main_window/MainWindowFileSlotFunction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/main_window/MainWindowFileSlotFunction.cpp b/src/ui/main_window/MainWindowFileSlotFunction.cpp
index 914d1b5e..e391c666 100644
--- a/src/ui/main_window/MainWindowFileSlotFunction.cpp
+++ b/src/ui/main_window/MainWindowFileSlotFunction.cpp
@@ -274,7 +274,7 @@ void MainWindow::slotFileSign() {
if (!if_error) {
- auto resultAnalyse = new SignResultAnalyse(error, result);
+ auto resultAnalyse = new SignResultAnalyse(mCtx, error, result);
auto &reportText = resultAnalyse->getResultReport();
infoBoard->associateTabWidget(edit->tabWidget);
infoBoard->associateFileTreeView(edit->curFilePage());
@@ -479,7 +479,7 @@ void MainWindow::slotFileEncryptSign() {
if (!if_error) {
auto resultAnalyseEncr = new EncryptResultAnalyse(error, encr_result);
- auto resultAnalyseSign = new SignResultAnalyse(error, sign_result);
+ auto resultAnalyseSign = new SignResultAnalyse(mCtx, error, sign_result);
int status = std::min(resultAnalyseEncr->getStatus(), resultAnalyseSign->getStatus());
auto reportText = resultAnalyseEncr->getResultReport() + resultAnalyseSign->getResultReport();