]> sigrok.org Git - pulseview.git/commitdiff
Add a tooltip for the "Delete decoder trace" icon.
authorUwe Hermann <redacted>
Thu, 30 Mar 2017 17:27:12 +0000 (19:27 +0200)
committerUwe Hermann <redacted>
Thu, 30 Mar 2017 18:03:21 +0000 (20:03 +0200)
pv/widgets/decodergroupbox.cpp

index 55718004e16acea84b9b1b29b425e4071ff4cebc..cdefcc74325fe07227ad9821a3610b7c4633c5b2 100644 (file)
@@ -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()),