aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/FilePage.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-11-06 12:49:44 +0000
committersaturneric <[email protected]>2023-11-06 12:49:44 +0000
commit889cb8092381b073a0f4a0411a4ede04cd7bdd14 (patch)
tree87ae80ee7be8b426afe869baff7c99384bbafaaa /src/ui/widgets/FilePage.cpp
parentrefactor: clean up core's codes (diff)
downloadGpgFrontend-889cb8092381b073a0f4a0411a4ede04cd7bdd14.tar.gz
GpgFrontend-889cb8092381b073a0f4a0411a4ede04cd7bdd14.zip
refactor: improve the code structure of core
Diffstat (limited to 'src/ui/widgets/FilePage.cpp')
-rw-r--r--src/ui/widgets/FilePage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widgets/FilePage.cpp b/src/ui/widgets/FilePage.cpp
index a8c3ba84..c4ada5f7 100644
--- a/src/ui/widgets/FilePage.cpp
+++ b/src/ui/widgets/FilePage.cpp
@@ -417,7 +417,7 @@ void FilePage::slot_delete_item() {
}
void FilePage::slot_calculate_hash() {
- auto info_str = FileOperator::CalculateHash(selected_path_);
+ auto info_str = CalculateHash(selected_path_);
emit SignalRefreshInfoBoard(info_str.c_str(), InfoBoardStatus::INFO_ERROR_OK);
}