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
This commit is contained in:
Martin Gräßlin 2009-07-18 08:34:48 +00:00
parent bc7fa77710
commit 2b82601558

View file

@ -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