Should that be `mAnimation ? mAnimation->duration() : 0`? Though I guess it's not used and could also just be removed?