]> git.lyx.org Git - features.git/commitdiff
Fix indentation
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 1 Nov 2021 12:02:05 +0000 (13:02 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 1 Nov 2021 12:02:05 +0000 (13:02 +0100)
src/frontends/qt/GuiSearch.cpp

index 88edf5365abe4a86fb5211c01f5c76f7f30f26a0..73fecd2db5a12be01d421aae41365d52f5ba84e9 100644 (file)
@@ -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());
 }