aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/gpg/GpgCommandExecutor.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-22 12:47:00 +0000
committersaturneric <[email protected]>2024-01-22 14:00:29 +0000
commit4133b5cc1abf297f0e2a85799ed02c8b88c4215a (patch)
treedaafee46e61fbce3357a202ca2256e2397a1ba10 /src/core/function/gpg/GpgCommandExecutor.cpp
parentdoc: add spdlog as dependencies to README (diff)
downloadGpgFrontend-4133b5cc1abf297f0e2a85799ed02c8b88c4215a.tar.gz
GpgFrontend-4133b5cc1abf297f0e2a85799ed02c8b88c4215a.zip
fix: QStringList is not equal to QList<QVector>
Diffstat (limited to 'src/core/function/gpg/GpgCommandExecutor.cpp')
-rw-r--r--src/core/function/gpg/GpgCommandExecutor.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/core/function/gpg/GpgCommandExecutor.cpp b/src/core/function/gpg/GpgCommandExecutor.cpp
index 8c994515..6d24f9bd 100644
--- a/src/core/function/gpg/GpgCommandExecutor.cpp
+++ b/src/core/function/gpg/GpgCommandExecutor.cpp
@@ -156,15 +156,6 @@ auto BuildTaskFromExecCtx(const GpgCommandExecutor::ExecuteContext &context)
std::move(result_callback));
}
-GpgCommandExecutor::ExecuteContext::ExecuteContext(
- QString cmd, QList<QString> arguments, GpgCommandExecutorCallback callback,
- Module::TaskRunnerPtr task_runner, GpgCommandExecutorInteractor int_func)
- : cmd(std::move(cmd)),
- arguments(std::move(arguments)),
- cb_func(std::move(callback)),
- int_func(std::move(int_func)),
- task_runner(std::move(task_runner)) {}
-
void GpgCommandExecutor::ExecuteSync(ExecuteContext context) {
Thread::Task *task = BuildTaskFromExecCtx(context);
@@ -247,4 +238,13 @@ void GpgCommandExecutor::ExecuteConcurrentlySync(ExecuteContexts contexts) {
looper.exec();
}
+GpgCommandExecutor::ExecuteContext::ExecuteContext(
+ QString cmd, QStringList arguments, GpgCommandExecutorCallback callback,
+ Module::TaskRunnerPtr task_runner, GpgCommandExecutorInteractor int_func)
+ : cmd(std::move(cmd)),
+ arguments(std::move(arguments)),
+ cb_func(std::move(callback)),
+ int_func(std::move(int_func)),
+ task_runner(std::move(task_runner)) {}
+
} // namespace GpgFrontend \ No newline at end of file