diff options
author | saturneric <[email protected]> | 2025-01-27 18:59:29 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-01-27 18:59:29 +0000 |
commit | fb2e47db7b8cd5ca7aac9c0ee1ca8b58ada0158f (patch) | |
tree | 6ea9a200bdc9dfe4dfe5b0e97c841d99e303ee66 /src/core/function/ArchiveFileOperator.cpp | |
parent | feat: upgrade gnupg info gathering module to v1.2.1 (diff) | |
download | GpgFrontend-fb2e47db7b8cd5ca7aac9c0ee1ca8b58ada0158f.tar.gz GpgFrontend-fb2e47db7b8cd5ca7aac9c0ee1ca8b58ada0158f.zip |
refactor: reduce code duplication
Diffstat (limited to 'src/core/function/ArchiveFileOperator.cpp')
-rw-r--r-- | src/core/function/ArchiveFileOperator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/function/ArchiveFileOperator.cpp b/src/core/function/ArchiveFileOperator.cpp index 49b50834..808807c4 100644 --- a/src/core/function/ArchiveFileOperator.cpp +++ b/src/core/function/ArchiveFileOperator.cpp @@ -85,7 +85,7 @@ auto ArchiveCloseWriteCallback(struct archive *, void *client_data) -> int { } void ArchiveFileOperator::NewArchive2DataExchanger( - const QString &target_directory, std::shared_ptr<GFDataExchanger> exchanger, + const QString &target_directory, QSharedPointer<GFDataExchanger> exchanger, const OperationCallback &cb) { RunIOOperaAsync( [=](const DataObjectPtr &data_object) -> GFError { @@ -194,7 +194,7 @@ void ArchiveFileOperator::NewArchive2DataExchanger( } void ArchiveFileOperator::ExtractArchiveFromDataExchanger( - std::shared_ptr<GFDataExchanger> ex, const QString &target_path, + QSharedPointer<GFDataExchanger> ex, const QString &target_path, const OperationCallback &cb) { RunIOOperaAsync( [=](const DataObjectPtr &data_object) -> GFError { |