From: Soeren Apel Date: Sat, 9 Nov 2019 20:47:13 +0000 (+0100) Subject: DecodeTrace: Add fallback icon for edit-paste action X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d01fcb19af6b6c9dd3c6c568e4be71a3cedc8003;p=pulseview.git DecodeTrace: Add fallback icon for edit-paste action --- diff --git a/README b/README index 588edc4c..72fc5de5 100644 --- a/README +++ b/README @@ -51,6 +51,7 @@ icons/application-exit.png, icons/document-new.png, icons/document-open.png, icons/document-save-as.png, +icons/edit-paste.svg, icons/help-browser.png, icons/media-playback-pause.png, icons/media-playback-start.png, diff --git a/icons/edit-paste.svg b/icons/edit-paste.svg new file mode 100644 index 00000000..39150d71 --- /dev/null +++ b/icons/edit-paste.svg @@ -0,0 +1,531 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Edit Paste + 2005-10-10 + + + Andreas Nilsson + + + + + edit + paste + + + + + + Jakub Steiner + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pulseview.qrc b/pulseview.qrc index 9acd3fac..4427a759 100644 --- a/pulseview.qrc +++ b/pulseview.qrc @@ -9,6 +9,7 @@ icons/document-new.png icons/document-open.png icons/document-save-as.png + icons/edit-paste.svg icons/help-browser.png icons/information.svg icons/media-playback-pause.png diff --git a/pv/views/trace/decodetrace.cpp b/pv/views/trace/decodetrace.cpp index 002e1954..c7796efc 100644 --- a/pv/views/trace/decodetrace.cpp +++ b/pv/views/trace/decodetrace.cpp @@ -410,7 +410,7 @@ QMenu* DecodeTrace::create_view_context_menu(QWidget *parent, QPoint &click_pos) QAction *const copy_annotation_to_clipboard = new QAction(tr("Copy annotation text to clipboard"), this); copy_annotation_to_clipboard->setIcon(QIcon::fromTheme("edit-paste", - QIcon(":/icons/edit-paste.png"))); + QIcon(":/icons/edit-paste.svg"))); connect(copy_annotation_to_clipboard, SIGNAL(triggered()), this, SLOT(on_copy_annotation_to_clipboard())); menu->addAction(copy_annotation_to_clipboard);