commit 11dc8634f1b05271e063fe165bb5cb3577808c88
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date:   Fri Jan 24 15:00:47 2025 +0100

    spacing
---
 src/frontends/qt/GuiWorkArea.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/frontends/qt/GuiWorkArea.cpp b/src/frontends/qt/GuiWorkArea.cpp
index 93b88c3b80..7186caede2 100644
--- a/src/frontends/qt/GuiWorkArea.cpp
+++ b/src/frontends/qt/GuiWorkArea.cpp
@@ -796,8 +796,8 @@ void GuiWorkArea::mouseReleaseEvent(QMouseEvent * e)
        FuncRequest const cmd(LFUN_MOUSE_RELEASE, e->x(), e->y(),
 #endif
                        q_button_state(e->button()), 
q_key_state(e->modifiers()));
-#if (QT_VERSION > QT_VERSION_CHECK(5,10,1) && \
-       QT_VERSION < QT_VERSION_CHECK(5,15,1))
+#if (QT_VERSION > QT_VERSION_CHECK(5, 10, 1) && \
+       QT_VERSION < QT_VERSION_CHECK(5, 15, 1))
        d->synthetic_mouse_event_.cmd = cmd; // QtBug 
QAbstractScrollArea::mouseMoveEvent
 #endif
        d->dispatch(cmd);
@@ -807,8 +807,8 @@ void GuiWorkArea::mouseReleaseEvent(QMouseEvent * e)
 
 void GuiWorkArea::mouseMoveEvent(QMouseEvent * e)
 {
-#if (QT_VERSION > QT_VERSION_CHECK(5,10,1) && \
-       QT_VERSION < QT_VERSION_CHECK(5,15,1))
+#if (QT_VERSION > QT_VERSION_CHECK(5, 10, 1) && \
+       QT_VERSION < QT_VERSION_CHECK(5, 15, 1))
        // cancel the event if the coordinates didn't change, this is due to 
QtBug
        // QAbstractScrollArea::mouseMoveEvent, the event is triggered falsely 
when quickly
        // double tapping a touchpad. To test: try to select a word by quickly 
double tapping
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to