diff options
author | saturneric <[email protected]> | 2024-12-13 15:22:33 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-12-13 15:22:33 +0000 |
commit | f7a00c58d2824f49ecaafc0152fc0b8213772e46 (patch) | |
tree | d012e5fac4ff9f48cd10381a0b79de0294d28d18 /src/ui/UserInterfaceUtils.cpp | |
parent | doc: update SECURITY.md (diff) | |
download | GpgFrontend-f7a00c58d2824f49ecaafc0152fc0b8213772e46.tar.gz GpgFrontend-f7a00c58d2824f49ecaafc0152fc0b8213772e46.zip |
refactor: using qt containers instead of std containers
Diffstat (limited to '')
-rw-r--r-- | src/ui/UserInterfaceUtils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/UserInterfaceUtils.cpp b/src/ui/UserInterfaceUtils.cpp index d8c0059b..33d72d8d 100644 --- a/src/ui/UserInterfaceUtils.cpp +++ b/src/ui/UserInterfaceUtils.cpp @@ -80,10 +80,10 @@ void ImportUnknownKeyFromKeyserver( QMessageBox::Yes | QMessageBox::No); if (reply == QMessageBox::Yes) { auto dialog = KeyServerImportDialog(channel, parent); - auto key_ids = std::make_unique<KeyIdArgsList>(); + auto key_ids = KeyIdArgsList{}; auto *signature = verify_result.GetSignatures(); while (signature != nullptr) { - key_ids->push_back(signature->fpr); + key_ids.push_back(signature->fpr); signature = signature->next; } dialog.show(); |