diff options
author | saturneric <[email protected]> | 2024-01-22 12:47:00 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-22 14:00:29 +0000 |
commit | 4133b5cc1abf297f0e2a85799ed02c8b88c4215a (patch) | |
tree | daafee46e61fbce3357a202ca2256e2397a1ba10 /src/ui/function/GenerateRevokeCertification.cpp | |
parent | doc: add spdlog as dependencies to README (diff) | |
download | GpgFrontend-4133b5cc1abf297f0e2a85799ed02c8b88c4215a.tar.gz GpgFrontend-4133b5cc1abf297f0e2a85799ed02c8b88c4215a.zip |
fix: QStringList is not equal to QList<QVector>
Diffstat (limited to '')
-rw-r--r-- | src/ui/function/GenerateRevokeCertification.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/function/GenerateRevokeCertification.cpp b/src/ui/function/GenerateRevokeCertification.cpp index b1089d45..b4a6c934 100644 --- a/src/ui/function/GenerateRevokeCertification.cpp +++ b/src/ui/function/GenerateRevokeCertification.cpp @@ -44,8 +44,8 @@ auto GenerateRevokeCertification::Exec(const GpgKey& key, // get all components GpgCommandExecutor::ExecuteSync( {app_path, - {"--command-fd", "0", "--status-fd", "1", "--no-tty", "-o", - std::move(output_path), "--gen-revoke", key.GetFingerprint()}, + QStringList{"--command-fd", "0", "--status-fd", "1", "--no-tty", "-o", + output_path, "--gen-revoke", key.GetFingerprint()}, [=](int exit_code, const QString& p_out, const QString& p_err) { if (exit_code != 0) { GF_UI_LOG_ERROR( |