SkyPainters should really take the dimensions of the widget that they are drawing on. Fixing this.
+ A pointer to the SkyMap need not be passed to the children. + A pointer to the QWidget / QGLWidget that drawing is being done in is passed instead, to obtain the dimensions. svn path=/branches/KDE/4.6/kdeedu/kstars/; revision=1210816
Showing with 34 additions and 24 deletions