fix zoom factor scale, remains double

BUG: 307609
This commit is contained in:
Thomas Lübking 2012-09-30 13:50:49 +02:00
parent c2a4f81927
commit 87bd9958cf

View file

@ -206,7 +206,7 @@ void ZoomEffect::reconfigure(ReconfigureFlags)
{
ZoomConfig::self()->readConfig();
// On zoom-in and zoom-out change the zoom by the defined zoom-factor.
zoomFactor = qMax(0.1, ZoomConfig::zoomFactor()/100.0);
zoomFactor = qMax(0.1, ZoomConfig::zoomFactor());
// Visibility of the mouse-pointer.
mousePointer = MousePointerType(ZoomConfig::mousePointer());
// Track moving of the mouse.