summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lübking <thomas.luebking@gmail.com>2012-09-30 11:50:49 (GMT)
committerThomas Lübking <thomas.luebking@gmail.com>2012-09-30 11:51:42 (GMT)
commit8171c12ed8ba4c26c715afb35063c8084c10c7e4 (patch)
tree85968b3927f08dfb86ddffe45ecd3a297bd64eae
parentefa70028f78f816d5da63143b482a022e96d7e84 (diff)
fix zoom factor scale, remains double
BUG: 307609
-rw-r--r--kwin/effects/zoom/zoom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kwin/effects/zoom/zoom.cpp b/kwin/effects/zoom/zoom.cpp
index b13a662..da89751 100644
--- a/kwin/effects/zoom/zoom.cpp
+++ b/kwin/effects/zoom/zoom.cpp
@@ -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.