aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/gpg/GpgFileOpera.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-02-03 18:13:23 +0000
committersaturneric <[email protected]>2025-02-03 19:14:29 +0000
commit37d5b7e5546fde0433a2480eea5a2c3b222139ff (patch)
tree9c1f6f2d4b456dea2fb1af4aefcf4f1ac6ae97ee /src/core/function/gpg/GpgFileOpera.cpp
parentfix: set pb range when size of operas > 1 (diff)
downloadGpgFrontend-37d5b7e5546fde0433a2480eea5a2c3b222139ff.tar.gz
GpgFrontend-37d5b7e5546fde0433a2480eea5a2c3b222139ff.zip
fix: qt5 compile issues
Diffstat (limited to 'src/core/function/gpg/GpgFileOpera.cpp')
-rw-r--r--src/core/function/gpg/GpgFileOpera.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/function/gpg/GpgFileOpera.cpp b/src/core/function/gpg/GpgFileOpera.cpp
index 3b2efd52..a3ad1ac5 100644
--- a/src/core/function/gpg/GpgFileOpera.cpp
+++ b/src/core/function/gpg/GpgFileOpera.cpp
@@ -461,6 +461,8 @@ auto GpgFileOpera::EncryptDirectorySymmetricSync(
const QString& out_path) -> std::tuple<GpgError, DataObjectPtr> {
auto ex = CreateStandardGFDataExchanger();
+ CreateArchiveHelper(in_path, ex);
+
return RunGpgOperaSync(
[=](const DataObjectPtr& data_object) -> GpgError {
GpgData data_in(ex);
@@ -470,8 +472,6 @@ auto GpgFileOpera::EncryptDirectorySymmetricSync(
data_object);
},
"gpgme_op_encrypt_symmetric", "2.1.0");
-
- CreateArchiveHelper(in_path, ex);
}
} // namespace GpgFrontend \ No newline at end of file