commit 76ac4d8f8df449312b9c646b2e4e6d406c32b752
Author: Juergen Spitzmueller <[email protected]>
Date:   Mon Nov 1 13:02:05 2021 +0100

    Fix indentation
---
 src/frontends/qt/GuiSearch.cpp |   21 ++++++++++-----------
 1 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/src/frontends/qt/GuiSearch.cpp b/src/frontends/qt/GuiSearch.cpp
index 88edf53..73fecd2 100644
--- a/src/frontends/qt/GuiSearch.cpp
+++ b/src/frontends/qt/GuiSearch.cpp
@@ -567,27 +567,26 @@ GuiSearch::GuiSearch(GuiView & parent, Qt::DockWidgetArea 
area, Qt::WindowFlags
 
 void GuiSearch::mousePressEvent(QMouseEvent *event)
 {
-    if (isFloating() && event->button() == Qt::LeftButton) {
-        dragPosition = event->globalPos() - frameGeometry().topLeft();
-        event->accept();
-    }
+       if (isFloating() && event->button() == Qt::LeftButton) {
+               dragPosition = event->globalPos() - frameGeometry().topLeft();
+               event->accept();
+       }
 }
 
 
 void GuiSearch::mouseMoveEvent(QMouseEvent *event)
 {
-    if (isFloating() && event->buttons() & Qt::LeftButton) {
-        move(event->globalPos() - dragPosition);
-        event->accept();
-    }
+       if (isFloating() && event->buttons() & Qt::LeftButton) {
+               move(event->globalPos() - dragPosition);
+               event->accept();
+       }
 }
 
 
 void GuiSearch::mouseDoubleClickEvent(QMouseEvent *event)
 {
-    if (event->button() == Qt::LeftButton) {
-        setFloating(!isFloating());
-    }
+       if (event->button() == Qt::LeftButton)
+               setFloating(!isFloating());
 }
 
 
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to