From: Uwe Hermann Date: Thu, 30 Mar 2017 17:27:12 +0000 (+0200) Subject: Add a tooltip for the "Delete decoder trace" icon. X-Git-Tag: pulseview-0.4.0~104 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=4f391bef39f279ce69e59b7e99ad5bba5c3fd737;p=pulseview.git Add a tooltip for the "Delete decoder trace" icon. --- diff --git a/pv/widgets/decodergroupbox.cpp b/pv/widgets/decodergroupbox.cpp index 55718004..cdefcc74 100644 --- a/pv/widgets/decodergroupbox.cpp +++ b/pv/widgets/decodergroupbox.cpp @@ -55,6 +55,7 @@ DecoderGroupBox::DecoderGroupBox(QString title, QString tooltip, QWidget *parent if (isDeletable) { QPushButton *const delete_button = new QPushButton( QIcon(":/icons/decoder-delete.svg"), QString(), this); + delete_button->setToolTip(tr("Delete this decoder trace")); delete_button->setFlat(true); delete_button->setIconSize(QSize(16, 16)); connect(delete_button, SIGNAL(clicked()),