What are you trying to achieve ?
Why do you care calling paintEvent if it's not needed ?