From: tobtoht Date: Thu, 21 Oct 2021 20:05:30 +0000 (+0200) Subject: History: context menu: remove icons X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=9eae7737390d1e0f304d0459314e245ca56a3654;p=gamesguru%2Ffeather.git History: context menu: remove icons --- 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));