From 9eae7737390d1e0f304d0459314e245ca56a3654 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Thu, 21 Oct 2021 22:05:30 +0200 Subject: [PATCH] History: context menu: remove icons --- src/HistoryWidget.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/HistoryWidget.cpp b/src/HistoryWidget.cpp index f8ce40f4..a0852308 100644 --- a/src/HistoryWidget.cpp +++ b/src/HistoryWidget.cpp @@ -26,7 +26,6 @@ HistoryWidget::HistoryWidget(QSharedPointer ctx, QWidget *parent) m_contextMenu->addAction("View on block explorer", this, &HistoryWidget::onViewOnBlockExplorer); // copy menu - m_copyMenu->setIcon(icons()->icon("copy.png")); m_copyMenu->addAction("Transaction ID", this, [this]{copy(copyField::TxID);}); m_copyMenu->addAction("Description", this, [this]{copy(copyField::Description);}); m_copyMenu->addAction("Date", this, [this]{copy(copyField::Date);}); @@ -87,8 +86,8 @@ void HistoryWidget::showContextMenu(const QPoint &point) { } menu.addMenu(m_copyMenu); - menu.addAction(icons()->icon("info2.svg"), "Show details", this, &HistoryWidget::showTxDetails); - menu.addAction(icons()->icon("network.png"), "View on block explorer", this, &HistoryWidget::onViewOnBlockExplorer); + menu.addAction("Show details", this, &HistoryWidget::showTxDetails); + menu.addAction("View on block explorer", this, &HistoryWidget::onViewOnBlockExplorer); menu.addAction("Create tx proof", this, &HistoryWidget::createTxProof); menu.exec(ui->history->viewport()->mapToGlobal(point)); -- 2.52.0