Qt: Resize GL widget while no game is running