mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
2f7d14a7e1
commit
6d477dc482
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user