suppress warning (multiplication of int by double)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32221 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2009-11-27 14:56:32 +00:00
parent 2f7d14a7e1
commit 6d477dc482

View File

@ -846,7 +846,7 @@ void GuiWorkArea::wheelEvent(QWheelEvent * ev)
scroll_value *= delta;
// Take into account user preference.
scroll_value *= lyxrc.mouse_wheel_speed;
scroll_value = int(scroll_value * lyxrc.mouse_wheel_speed);
LYXERR(Debug::SCROLLING, "wheelScrollLines = " << lines
<< " delta = " << delta << " scroll_value = " << scroll_value
<< " page_step = " << page_step);