diff options
Diffstat (limited to 'muse2/muse/widgets/verticalmeter.h')
-rw-r--r-- | muse2/muse/widgets/verticalmeter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/muse2/muse/widgets/verticalmeter.h b/muse2/muse/widgets/verticalmeter.h index 699be1e5..facc8b8c 100644 --- a/muse2/muse/widgets/verticalmeter.h +++ b/muse2/muse/widgets/verticalmeter.h @@ -17,6 +17,8 @@ class QMouseEvent; class QPainter; class VerticalMeter : public Meter { + Q_OBJECT + private: MeterType mtype; bool overflow; @@ -27,7 +29,7 @@ class VerticalMeter : public Meter { void drawVU(QPainter& p, int, int, int); - Q_OBJECT + void paintEvent(QPaintEvent*); void resizeEvent(QResizeEvent*); |