summaryrefslogtreecommitdiff
path: root/ui/clickablelabel.h
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2020-09-24 02:18:41 -0400
committerGlenn Smith <glenn@vector35.com>2020-09-24 02:18:41 -0400
commita536e7ccae49fb5141e9a959cff10500599993d4 (patch)
tree32bfb749a15a7ea0d3a982c090fb400fa4c844da /ui/clickablelabel.h
parent6d378e94ffb2fb87ceb531a97bb9fa4ecf666f50 (diff)
Use Q_SIGNALS / Q_EMIT macros instead of signals / emit
Diffstat (limited to 'ui/clickablelabel.h')
-rw-r--r--ui/clickablelabel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/clickablelabel.h b/ui/clickablelabel.h
index df261494..3e09c045 100644
--- a/ui/clickablelabel.h
+++ b/ui/clickablelabel.h
@@ -9,9 +9,9 @@ class BINARYNINJAUIAPI ClickableLabel: public QLabel
public:
ClickableLabel(QWidget* parent = nullptr, const QString& name = ""): QLabel(parent) { setText(name); }
-signals:
+Q_SIGNALS:
void clicked();
protected:
- void mouseReleaseEvent(QMouseEvent* event) override { if (event->button() == Qt::LeftButton) emit clicked(); }
+ void mouseReleaseEvent(QMouseEvent* event) override { if (event->button() == Qt::LeftButton) Q_EMIT clicked(); }
};