Commit cd02553f authored by Committed by Wolthera van Hövell
Make KoStopGradient::colorAt threadsave
Sneakily, the "buffer" variable was made a class variable. Marking it mutable allows us to change it from a const function, which hides the fact that this is global data (doubly hidden by there not being an m_ prefix), which makes the const function thread unsafe.
Showing with 4 additions and 6 deletions