aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/UserInterfaceUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/UserInterfaceUtils.cpp')
-rw-r--r--src/ui/UserInterfaceUtils.cpp4
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();