Not sure if the stricter error checking is from gcc, cmake, or Qt, but on my system with recent versions, I get compile errors, because 'int' cannot be promoted to 'enum' automatically.
Details
Diff Detail
- Repository
- R113 Oxygen Theme
- Lint
Lint Skipped - Unit
Unit Tests Skipped
I'm ok with the patch
However it all feel quite cumbersome
I wonder if we could not introduce an animationHoverOrFocus enumeration defined as the or of the other two directly in the flags would make things nicer. What do you think ?
kstyle/animations/oxygenanimations.cpp | ||
---|---|---|
178 | Looking further into the patch I get more confused. My understanding was that this would allow AnimationsModes to be bitwise or (or and, or any operator) of the AnimationMode enum. |