From c7a9ddab7aba152b65da81c6aff9bf347c49c071 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Tue, 5 Feb 2008 13:26:22 +0000 Subject: [PATCH] Move debug output to SCROLLING. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22789 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiWorkArea.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index 9e0f56a5aa..a6275c816e 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -668,10 +668,9 @@ void GuiWorkArea::wheelEvent(QWheelEvent * e) double const lines = qApp->wheelScrollLines() * lyxrc.mouse_wheel_speed * e->delta() / 120.0; - lyxerr << "wheelScrollLines = " << qApp->wheelScrollLines() + LYXERR(Debug::SCROLLING, "wheelScrollLines = " << qApp->wheelScrollLines() << " delta = " << e->delta() - << " lines = " << lines - << std::endl; + << " lines = " << lines); verticalScrollBar()->setValue(verticalScrollBar()->value() - int(lines * verticalScrollBar()->singleStep())); } @@ -679,7 +678,7 @@ void GuiWorkArea::wheelEvent(QWheelEvent * e) void GuiWorkArea::generateSyntheticMouseEvent() { -// Set things off to generate the _next_ 'pseudo' event. + // Set things off to generate the _next_ 'pseudo' event. if (synthetic_mouse_event_.restart_timeout) synthetic_mouse_event_.timeout.start();