From f7a00c58d2824f49ecaafc0152fc0b8213772e46 Mon Sep 17 00:00:00 2001 From: saturneric Date: Fri, 13 Dec 2024 16:22:33 +0100 Subject: refactor: using qt containers instead of std containers --- src/ui/UserInterfaceUtils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/UserInterfaceUtils.cpp') 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(); + 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(); -- cgit v1.2.3