Bug Marble globe wallpaper, reversed spin direction
Review Request #105118 - Created May 31, 2012 and submitted
I had to delete a bunch of code to fix the issue. But what was the purpose of this code? Am I missing some cornercase?
Polarity determines whether north is visible top or bottom, so I don't know why the original code was there. I think you can even strip it down further to a simple qreal const direction = polarity < 0 ? -1 : 1; i.e. ignore the projection -- in non-spherical case polarity is 1. Note that your patch also fixes bug 216156. You could use zoomIn()/zoomOut() though instead of the hard-coded +/- 40.