mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
Add a few 'const's.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8176 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
709d732f71
commit
4e56732c89
@ -107,24 +107,24 @@ void QContentPane::mousePressEvent(QMouseEvent * e)
|
||||
return;
|
||||
}
|
||||
|
||||
FuncRequest cmd(LFUN_MOUSE_PRESS, e->x(), e->y(),
|
||||
q_button_state(e->button()));
|
||||
FuncRequest const cmd(LFUN_MOUSE_PRESS, e->x(), e->y(),
|
||||
q_button_state(e->button()));
|
||||
wa_->dispatch(cmd);
|
||||
}
|
||||
|
||||
|
||||
void QContentPane::mouseReleaseEvent(QMouseEvent * e)
|
||||
{
|
||||
FuncRequest cmd(LFUN_MOUSE_RELEASE, e->x(), e->y(),
|
||||
q_button_state(e->button()));
|
||||
FuncRequest const cmd(LFUN_MOUSE_RELEASE, e->x(), e->y(),
|
||||
q_button_state(e->button()));
|
||||
wa_->dispatch(cmd);
|
||||
}
|
||||
|
||||
|
||||
void QContentPane::mouseMoveEvent(QMouseEvent * e)
|
||||
{
|
||||
FuncRequest cmd
|
||||
(LFUN_MOUSE_MOTION, e->x(), e->y(), q_motion_state(e->state()));
|
||||
FuncRequest const cmd(LFUN_MOUSE_MOTION, e->x(), e->y(),
|
||||
q_motion_state(e->state()));
|
||||
wa_->dispatch(cmd);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user