[vlc-commits] [Git][videolan/vlc][3.0.x] qt: fix typo in mouse event handling

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Tue Mar 8 10:51:36 UTC 2022



Hugo Beauzée-Luyssen pushed to branch 3.0.x at VideoLAN / VLC


Commits:
e63e7a06 by Thomas Guillem at 2022-03-08T10:22:59+00:00
qt: fix typo in mouse event handling

Fixes #26684

Regression from d5e53764ba89d36ca5c300e0cc0f5261b0abe8ac

- - - - -


1 changed file:

- modules/gui/qt/components/interface_widgets.cpp


Changes:

=====================================
modules/gui/qt/components/interface_widgets.cpp
=====================================
@@ -341,7 +341,7 @@ void VideoWidget::mouseReleaseEvent( QMouseEvent *event )
 
 void VideoWidget::mousePressEvent( QMouseEvent* event )
 {
-    if ( !p_window || enable_mouse_events )
+    if ( !p_window || !enable_mouse_events )
     {
         event->ignore();
         return;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e63e7a06341ed8eac34fabc30da43d5bf34b4255

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e63e7a06341ed8eac34fabc30da43d5bf34b4255
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list