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/core/function/gpg/GpgKeyOpera.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 'src/core/function/gpg/GpgKeyOpera.cpp')
-rw-r--r-- | src/core/function/gpg/GpgKeyOpera.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/function/gpg/GpgKeyOpera.cpp b/src/core/function/gpg/GpgKeyOpera.cpp index 5f8daf81..118f4784 100644 --- a/src/core/function/gpg/GpgKeyOpera.cpp +++ b/src/core/function/gpg/GpgKeyOpera.cpp @@ -111,8 +111,8 @@ void GpgKeyOpera::GenerateRevokeCert(const GpgKey& key, // get all components GpgCommandExecutor::ExecuteSync( {app_path, - {"--command-fd", "0", "--status-fd", "1", "--no-tty", "-o", 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_CORE_LOG_ERROR( |