Mercurial > hg > svgui
diff widgets/ClickableLabel.h @ 1414:fa986b91d77f
Merge from branch fix-static-analysis
author | Chris Cannam |
---|---|
date | Wed, 09 Jan 2019 15:24:51 +0000 |
parents | 05d614f6e46d |
children |
line wrap: on
line diff
--- a/widgets/ClickableLabel.h Wed Jan 09 14:41:52 2019 +0000 +++ b/widgets/ClickableLabel.h Wed Jan 09 15:24:51 2019 +0000 @@ -12,8 +12,8 @@ COPYING included with this distribution for more information. */ -#ifndef _CLICKABLE_LABEL_H_ -#define _CLICKABLE_LABEL_H_ +#ifndef SV_CLICKABLE_LABEL_H +#define SV_CLICKABLE_LABEL_H #include <QLabel> @@ -31,7 +31,7 @@ void clicked(); protected: - virtual void mousePressEvent(QMouseEvent *) { + void mousePressEvent(QMouseEvent *) override { emit clicked(); } };