diff options
author | Joseph Donofry <joedonofry@gmail.com> | 2021-11-03 21:43:11 -0400 |
---|---|---|
committer | Joseph Donofry <joedonofry@gmail.com> | 2021-11-03 21:43:11 -0400 |
commit | 743a83c8e6f0b64b21e8042a9eb04ce35c713008 (patch) | |
tree | f980bdb8c45e607547f87e48f42144227166aa6c /src/ui/Label.cpp | |
parent | Merge remote-tracking branch 'nheko-im/master' into video_player_enhancements (diff) | |
parent | Update translations (diff) | |
download | nheko-743a83c8e6f0b64b21e8042a9eb04ce35c713008.tar.xz |
Update video_player_enhancements with changes from master
Diffstat (limited to 'src/ui/Label.cpp')
-rw-r--r-- | src/ui/Label.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ui/Label.cpp b/src/ui/Label.cpp index 2e8f8e1d..220fe2f0 100644 --- a/src/ui/Label.cpp +++ b/src/ui/Label.cpp @@ -17,16 +17,16 @@ Label::Label(const QString &text, QWidget *parent, Qt::WindowFlags f) void Label::mousePressEvent(QMouseEvent *e) { - pressPosition_ = e->pos(); - emit pressed(e); - QLabel::mousePressEvent(e); + pressPosition_ = e->pos(); + emit pressed(e); + QLabel::mousePressEvent(e); } void Label::mouseReleaseEvent(QMouseEvent *e) { - emit released(e); - if (pressPosition_ == e->pos()) - emit clicked(e); - QLabel::mouseReleaseEvent(e); + emit released(e); + if (pressPosition_ == e->pos()) + emit clicked(e); + QLabel::mouseReleaseEvent(e); } |