From 4e56732c8904e0f1795d30e761b67af9e58c1316 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Mon, 1 Dec 2003 23:04:36 +0000 Subject: [PATCH] Add a few 'const's. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8176 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt2/QContentPane.C | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/frontends/qt2/QContentPane.C b/src/frontends/qt2/QContentPane.C index c2a929f8b1..43ac1e011c 100644 --- a/src/frontends/qt2/QContentPane.C +++ b/src/frontends/qt2/QContentPane.C @@ -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); }