]> git.lyx.org Git - features.git/commitdiff
Move debug output to SCROLLING.
authorAbdelrazak Younes <younes@lyx.org>
Tue, 5 Feb 2008 13:26:22 +0000 (13:26 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 5 Feb 2008 13:26:22 +0000 (13:26 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22789 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiWorkArea.cpp

index 9e0f56a5aa89710520d446f0fa3e134a738a8b1d..a6275c816e14fd9a3dce9e6b864926ef242295d0 100644 (file)
@@ -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();