commit fd4645c91202e660ed62c1d8a68ae55363263089
Author: Richard Heck <[email protected]>
Date: Mon Jun 27 18:54:14 2016 -0400
Whitespace only.
---
src/FuncRequest.cpp | 2 +-
src/Server.cpp | 2 +-
src/frontends/qt4/GuiWorkArea.cpp | 13 ++++++-------
3 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/src/FuncRequest.cpp b/src/FuncRequest.cpp
index 62ba9cd..a8d8859 100644
--- a/src/FuncRequest.cpp
+++ b/src/FuncRequest.cpp
@@ -56,7 +56,7 @@ FuncRequest::FuncRequest(FuncCode act, string const & arg,
Origin o)
FuncRequest::FuncRequest(FuncCode act, int ax, int ay,
mouse_button::state but, KeyModifier modifier, Origin
o)
: action_(act), origin_(o), x_(ax), y_(ay), button_(but),
- modifier_(modifier)
+ modifier_(modifier)
{}
diff --git a/src/Server.cpp b/src/Server.cpp
index 0eec4b5..b89e834 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -1175,7 +1175,7 @@ void Server::callback(string const & msg)
// connect to the lyxfunc in the single GuiView we
// support currently. (Lgb)
- FuncRequest fr(lyxaction.lookupFunc(cmd), from_ascii(arg));
+ FuncRequest fr(lyxaction.lookupFunc(cmd),
from_ascii(arg));
fr.setOrigin(FuncRequest::LYXSERVER);
DispatchResult dr;
theApp()->dispatch(fr, dr);
diff --git a/src/frontends/qt4/GuiWorkArea.cpp
b/src/frontends/qt4/GuiWorkArea.cpp
index 192c82c..b273183 100644
--- a/src/frontends/qt4/GuiWorkArea.cpp
+++ b/src/frontends/qt4/GuiWorkArea.cpp
@@ -802,7 +802,7 @@ void GuiWorkArea::mousePressEvent(QMouseEvent * e)
if (d->dc_event_.active && d->dc_event_ == *e) {
d->dc_event_.active = false;
FuncRequest cmd(LFUN_MOUSE_TRIPLE, e->x(), e->y(),
- q_button_state(e->button()),
q_key_state(e->modifiers()));
+ q_button_state(e->button()),
q_key_state(e->modifiers()));
d->dispatch(cmd);
e->accept();
return;
@@ -813,7 +813,7 @@ void GuiWorkArea::mousePressEvent(QMouseEvent * e)
#endif
FuncRequest const cmd(LFUN_MOUSE_PRESS, e->x(), e->y(),
- q_button_state(e->button()), q_key_state(e->modifiers()));
+ q_button_state(e->button()),
q_key_state(e->modifiers()));
d->dispatch(cmd);
// Save the context menu on mouse press, because also the mouse
@@ -834,7 +834,7 @@ void GuiWorkArea::mouseReleaseEvent(QMouseEvent * e)
d->synthetic_mouse_event_.timeout.stop();
FuncRequest const cmd(LFUN_MOUSE_RELEASE, e->x(), e->y(),
- q_button_state(e->button()),
q_key_state(e->modifiers()));
+ q_button_state(e->button()),
q_key_state(e->modifiers()));
d->dispatch(cmd);
e->accept();
}
@@ -845,7 +845,7 @@ void GuiWorkArea::mouseMoveEvent(QMouseEvent * e)
// we kill the triple click if we move
doubleClickTimeout();
FuncRequest cmd(LFUN_MOUSE_MOTION, e->x(), e->y(),
- q_motion_state(e->buttons()), q_key_state(e->modifiers()));
+ q_motion_state(e->buttons()),
q_key_state(e->modifiers()));
e->accept();
@@ -1106,9 +1106,8 @@ void GuiWorkArea::mouseDoubleClickEvent(QMouseEvent * ev)
{
d->dc_event_ = DoubleClick(ev);
QTimer::singleShot(QApplication::doubleClickInterval(), this,
- SLOT(doubleClickTimeout()));
- FuncRequest cmd(LFUN_MOUSE_DOUBLE,
- ev->x(), ev->y(),
+ SLOT(doubleClickTimeout()));
+ FuncRequest cmd(LFUN_MOUSE_DOUBLE, ev->x(), ev->y(),
q_button_state(ev->button()),
q_key_state(ev->modifiers()));
d->dispatch(cmd);
ev->accept();