I see the same effect in that example and a bare QLineEdit/QSpinBox on Mac OS X Lion using Qt 4.8.0. Have not tried 4.8.1.
I could not see a bug report or change that obviously relates to this issue but I only had a cursory scan.