There will always be a menu here, will there not? The application creates the menu before it can call paintGL.

So we don't need the first `if(menu){` check.