From 2b826015585cb4fb4c6ba7232d4dc852f17ae829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sat, 18 Jul 2009 08:34:48 +0000 Subject: [PATCH] Fix linking problem with SunStudio in kwineffects. Thanks to Jan Hnatek for noticing and providing the patch. BUG: 199897 svn path=/trunk/KDE/kdebase/workspace/; revision=998614 --- lib/kwineffects.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/kwineffects.h b/lib/kwineffects.h index 36e7e2c9d4..df547a96cb 100644 --- a/lib/kwineffects.h +++ b/lib/kwineffects.h @@ -170,7 +170,7 @@ X-KDE-Library=kwin4_effect_cooleffect #define KWIN_EFFECT_API_MAKE_VERSION( major, minor ) (( major ) << 8 | ( minor )) #define KWIN_EFFECT_API_VERSION_MAJOR 0 -#define KWIN_EFFECT_API_VERSION_MINOR 101 +#define KWIN_EFFECT_API_VERSION_MINOR 102 #define KWIN_EFFECT_API_VERSION KWIN_EFFECT_API_MAKE_VERSION( \ KWIN_EFFECT_API_VERSION_MAJOR, KWIN_EFFECT_API_VERSION_MINOR ) @@ -1282,7 +1282,7 @@ class KWIN_EXPORT TimeLine * For small animations, values around 150 milliseconds are sensible. * Note that duration 0 is not valid. */ - explicit TimeLine(int duration = 0); + explicit TimeLine(const int duration = 0); /** * Creates a copy of the TimeLine so we can have the state copied