]> sigrok.org Git - pulseview.git/blobdiff - pv/view/viewitem.hpp
ViewItem: Make paint_label optional
[pulseview.git] / pv / view / viewitem.hpp
index dd3d2aa0c2c61a4969a53c6a5fc899cb5c7e802b..82851e5c2685571b0b063d1c2c816a98299f5234 100644 (file)
@@ -116,7 +116,7 @@ public:
         * @param rect the rectangle of the header area.
         * @param hover true if the label is being hovered over by the mouse.
         */
-       virtual void paint_label(QPainter &p, const QRect &rect, bool hover) = 0;
+       virtual void paint_label(QPainter &p, const QRect &rect, bool hover);
 
        /**
         * Paints the background layer of the item with a QPainter