From ac3ac459e87f373841accc496da98b5b38197764 Mon Sep 17 00:00:00 2001 From: Lucas Murray Date: Sat, 6 Sep 2008 07:22:25 +0000 Subject: [PATCH] Fixed type and slightly increased fade time. svn path=/trunk/KDE/kdebase/workspace/; revision=857700 --- effects/presentwindows.cpp | 2 +- effects/presentwindows.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/effects/presentwindows.cpp b/effects/presentwindows.cpp index 01a6a0eac8..2399a1deaa 100644 --- a/effects/presentwindows.cpp +++ b/effects/presentwindows.cpp @@ -81,7 +81,7 @@ PresentWindowsEffect::PresentWindowsEffect() mRearranging.setCurveShape( TimeLine::EaseInOutCurve ); mRearranging.setDuration( animationTime( conf, "RearrangeDuration", 250 )); mRearranging.setProgress( 1.0 ); - highlightChangeTime = animationTime( 100 ); + highlightChangeTime = double( animationTime( 150 )); } PresentWindowsEffect::~PresentWindowsEffect() diff --git a/effects/presentwindows.h b/effects/presentwindows.h index e3f642f090..8ade538b74 100644 --- a/effects/presentwindows.h +++ b/effects/presentwindows.h @@ -108,7 +108,7 @@ class PresentWindowsEffect TimeLine mActiveness; // 0 = start of rearranging (old_area), 1 = done TimeLine mRearranging; - int highlightChangeTime; + double highlightChangeTime; Window mInput; bool hasKeyboardGrab;