• Boudewijn Rempt's avatar
    Make KoStopGradient::colorAt threadsave · cd02553f
    Boudewijn Rempt authored
    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.
    cd02553f
KoStopGradient.cpp 22.9 KB