diff options
author | saturneric <[email protected]> | 2025-01-27 23:07:49 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-01-27 23:14:21 +0000 |
commit | 0a8a116d2dabedae09995906bef7a4a25af2fd61 (patch) | |
tree | 8c9334041a08fb244aa5686f1413915dd9a24365 /src/ui/widgets/FileTreeView.cpp | |
parent | fix: tiny fixes (diff) | |
download | GpgFrontend-0a8a116d2dabedae09995906bef7a4a25af2fd61.tar.gz GpgFrontend-0a8a116d2dabedae09995906bef7a4a25af2fd61.zip |
refactor: code clean up
Diffstat (limited to 'src/ui/widgets/FileTreeView.cpp')
-rw-r--r-- | src/ui/widgets/FileTreeView.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/widgets/FileTreeView.cpp b/src/ui/widgets/FileTreeView.cpp index 20078e7c..86411d79 100644 --- a/src/ui/widgets/FileTreeView.cpp +++ b/src/ui/widgets/FileTreeView.cpp @@ -31,7 +31,7 @@ #include "core/utils/AsyncUtils.h" #include "core/utils/IOUtils.h" #include "ui/UISignalStation.h" -#include "ui/UserInterfaceUtils.h" +#include "ui/function/GpgOperaHelper.h" namespace GpgFrontend::UI { @@ -398,7 +398,7 @@ void FileTreeView::slot_calculate_hash() { if (GetSelectedPaths().empty()) return; auto selected_path = GetSelectedPaths().front(); - CommonUtils::WaitForOpera( + GpgOperaHelper::WaitForOpera( this->parentWidget(), tr("Calculating"), [=](const OperaWaitingHd& hd) { RunOperaAsync( [=](const DataObjectPtr& data_object) { |