diff options
Diffstat (limited to 'src/core/function/gpg/GpgCommandExecutor.cpp')
-rw-r--r-- | src/core/function/gpg/GpgCommandExecutor.cpp | 18 |
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 |