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