Move debug output to SCROLLING.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22789 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-02-05 13:26:22 +00:00
parent 4a6a7fbe55
commit c7a9ddab7a

View 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();