michael-jeulinl/MSVTK — comment on commit d742be7395cc01dec9c016b5eae1a80597f5415b
File: Libs/Qt/Widgets/msvQTimePlayerWidget.cxx line 109
By finetjul:

why do you keep a variable if you can get the info that easily, just do a accessor :
int numberOfTimeSteps() const