aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/widgets/clickable_label.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/widgets/clickable_label.cpp')
-rw-r--r--ui/qt/widgets/clickable_label.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/widgets/clickable_label.cpp b/ui/qt/widgets/clickable_label.cpp
index 1b7ca02537..e6b86cdaa6 100644
--- a/ui/qt/widgets/clickable_label.cpp
+++ b/ui/qt/widgets/clickable_label.cpp
@@ -31,9 +31,9 @@ void ClickableLabel::mouseReleaseEvent(QMouseEvent * event)
/* It has to be ensured, that if the user clicks on the label and then moves away out of
* the scope of the widget, the event does not fire. Otherwise this behavior differs from
* the way, the toolbar buttons work for instance */
- if ( event->pos().x() < 0 || event->pos().x() > size().width() )
+ if (event->pos().x() < 0 || event->pos().x() > size().width())
return;
- if ( event->pos().y() < 0 || event->pos().y() > size().height() )
+ if (event->pos().y() < 0 || event->pos().y() > size().height())
return;
emit clicked();