diff options
Diffstat (limited to 'src/qt/transactionview.cpp')
-rw-r--r-- | src/qt/transactionview.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp index 2f16e6edb4..02c0153389 100644 --- a/src/qt/transactionview.cpp +++ b/src/qt/transactionview.cpp @@ -228,11 +228,9 @@ void TransactionView::setModel(WalletModel *_model) QString host = QUrl(url, QUrl::StrictMode).host(); if (!host.isEmpty()) { - QAction *thirdPartyTxUrlAction = new QAction(host, this); // use host as menu item label if (i == 0) contextMenu->addSeparator(); - contextMenu->addAction(thirdPartyTxUrlAction); - connect(thirdPartyTxUrlAction, &QAction::triggered, [this, url] { openThirdPartyTxUrl(url); }); + contextMenu->addAction(host, [this, url] { openThirdPartyTxUrl(url); }); } } } |