X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fwidgets%2Fcolourbutton.hpp;h=d373fc51a8d6c70b4fdd59683777c3279b4b6971;hp=d7f019a6c55ab96dcd2dbc90f6e72af1310c1918;hb=7e0c99bf95836c89574b53ae3fa7840e2ddca77d;hpb=2acdb232d6bb452cfdfaea3ef5218fb4da592329 diff --git a/pv/widgets/colourbutton.hpp b/pv/widgets/colourbutton.hpp index d7f019a6..d373fc51 100644 --- a/pv/widgets/colourbutton.hpp +++ b/pv/widgets/colourbutton.hpp @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef PULSEVIEW_PV_WIDGETS_COLOURBUTTON_H -#define PULSEVIEW_PV_WIDGETS_COLOURBUTTON_H +#ifndef PULSEVIEW_PV_WIDGETS_COLOURBUTTON_HPP +#define PULSEVIEW_PV_WIDGETS_COLOURBUTTON_HPP #include @@ -47,7 +47,7 @@ public: void set_palette(const QColor *const palette); private: - void paintEvent(QPaintEvent *e); + void paintEvent(QPaintEvent *event); private Q_SLOTS: void on_clicked(bool); @@ -65,4 +65,4 @@ private: } // widgets } // pv -#endif // PULSEVIEW_PV_WIDGETS_COLOURBUTTON_H +#endif // PULSEVIEW_PV_WIDGETS_COLOURBUTTON_HPP