From 963e12058f3ca3cdaeefd9aa5a8305fa41afd1a0 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Tue, 30 Mar 2021 02:49:57 +0300 Subject: [PATCH] qt: Drop menu separator that separates nothing --- src/qt/addressbookpage.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/qt/addressbookpage.cpp b/src/qt/addressbookpage.cpp index 0cd01b4f1e..b4067deb35 100644 --- a/src/qt/addressbookpage.cpp +++ b/src/qt/addressbookpage.cpp @@ -127,7 +127,6 @@ AddressBookPage::AddressBookPage(const PlatformStyle *platformStyle, Mode _mode, contextMenu->addAction(deleteAction); connect(deleteAction, &QAction::triggered, this, &AddressBookPage::on_deleteAddress_clicked); } - contextMenu->addSeparator(); // Connect signals for context menu actions connect(copyAddressAction, &QAction::triggered, this, &AddressBookPage::on_copyAddress_clicked); @@ -135,7 +134,6 @@ AddressBookPage::AddressBookPage(const PlatformStyle *platformStyle, Mode _mode, connect(editAction, &QAction::triggered, this, &AddressBookPage::onEditAction); connect(ui->tableView, &QWidget::customContextMenuRequested, this, &AddressBookPage::contextualMenu); - connect(ui->closeButton, &QPushButton::clicked, this, &QDialog::accept); GUIUtil::handleCloseWindowShortcut(this);