From 2e27baf284fde00c5fc1d81e1f8bc891b8163766 Mon Sep 17 00:00:00 2001 From: Saturneric Date: Fri, 20 Aug 2021 19:47:45 +0800 Subject: Improve Functions; Bugs Fixed; --- src/ui/main_window/MainWindowFileSlotFunction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/main_window/MainWindowFileSlotFunction.cpp') 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(); -- cgit v1.2.3