aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/model/GpgDecryptResult.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-12-13 15:22:33 +0000
committersaturneric <[email protected]>2024-12-13 15:22:33 +0000
commitf7a00c58d2824f49ecaafc0152fc0b8213772e46 (patch)
treed012e5fac4ff9f48cd10381a0b79de0294d28d18 /src/core/model/GpgDecryptResult.cpp
parentdoc: update SECURITY.md (diff)
downloadGpgFrontend-f7a00c58d2824f49ecaafc0152fc0b8213772e46.tar.gz
GpgFrontend-f7a00c58d2824f49ecaafc0152fc0b8213772e46.zip
refactor: using qt containers instead of std containers
Diffstat (limited to 'src/core/model/GpgDecryptResult.cpp')
-rw-r--r--src/core/model/GpgDecryptResult.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/model/GpgDecryptResult.cpp b/src/core/model/GpgDecryptResult.cpp
index 3b6ebd67..82398d96 100644
--- a/src/core/model/GpgDecryptResult.cpp
+++ b/src/core/model/GpgDecryptResult.cpp
@@ -48,8 +48,8 @@ auto GpgDecryptResult::GetRaw() -> gpgme_decrypt_result_t {
return result_ref_.get();
}
-auto GpgDecryptResult::Recipients() -> std::vector<GpgRecipient> {
- std::vector<GpgRecipient> result;
+auto GpgDecryptResult::Recipients() -> QContainer<GpgRecipient> {
+ QContainer<GpgRecipient> result;
for (auto* reci = result_ref_->recipients; reci != nullptr;
reci = reci->next) {
try {