Mercurial > hg > svgui
comparison widgets/ClickableLabel.h @ 1406:a18e78b9c78b fix-static-analysis
Use override throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 13:52:27 +0000 |
parents | 666cdcae5f0d |
children | 05d614f6e46d |
comparison
equal
deleted
inserted
replaced
1405:4c359c2b220c | 1406:a18e78b9c78b |
---|---|
29 | 29 |
30 signals: | 30 signals: |
31 void clicked(); | 31 void clicked(); |
32 | 32 |
33 protected: | 33 protected: |
34 virtual void mousePressEvent(QMouseEvent *) { | 34 void mousePressEvent(QMouseEvent *) override { |
35 emit clicked(); | 35 emit clicked(); |
36 } | 36 } |
37 }; | 37 }; |
38 | 38 |
39 #endif | 39 #endif |