]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
History: context menu: remove icons
authortobtoht <thotbot@protonmail.com>
Thu, 21 Oct 2021 20:05:30 +0000 (22:05 +0200)
committertobtoht <thotbot@protonmail.com>
Thu, 21 Oct 2021 20:05:30 +0000 (22:05 +0200)
src/HistoryWidget.cpp

index f8ce40f478f89625e4220bc4ed1c63f2ab1063dd..a0852308570e4d735a466b491e2fb1bfc476c44d 100644 (file)
@@ -26,7 +26,6 @@ HistoryWidget::HistoryWidget(QSharedPointer<AppContext> 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));