tildearrow / kwin-lowlatency

archived - X11 full-screen unredirection and lots'a settings for KWin
372 stars 10 forks source link

Autotests don't build anymore #6

Closed tildearrow closed 5 years ago

tildearrow commented 5 years ago
projects/kwin/scripting/scriptedeffect.cpp: In function ‘KWin::AnimationSettings KWin::animationSettingsFromObject(QScriptValue&)’:
projects/kwin/scripting/scriptedeffect.cpp:156:15: error: ‘options’ was not declared in this scope
       switch (options->animationCurve()) {
               ^~~~~~~
projects/kwin/scripting/scriptedeffect.cpp:156:15: note: suggested alternative: ‘Motion’
       switch (options->animationCurve()) {
               ^~~~~~~
               Motion
make[2]: *** [autotests/CMakeFiles/testScriptedEffectLoader.dir/build.make:160: autotests/CMakeFiles/testScriptedEffectLoader.dir/__/scripting/scriptedeffect.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:9299: autotests/CMakeFiles/testScriptedEffectLoader.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Apparently caused by the addition of the Animation curve option.