[Kstars-devel] KDE/kdeedu/kstars/kstars/widgets

Jason Harris kstars at 30doradus.org
Sat Nov 17 19:07:39 CET 2007


SVN commit 738023 by harris:

Thumbnail editor for details window now shows the selected image.

CCMAIL: kstars-devel at kde.org



 M  +3 -1      thumbimage.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/widgets/thumbimage.cpp #738022:738023
@@ -49,8 +49,10 @@
 void ThumbImage::paintEvent( QPaintEvent* ) {
     QPainter p;
     p.begin( this );
+
+    p.drawPixmap( 0, 0, *Image );
+
     p.setPen( QPen( QColor( "Grey" ), 2 ) );
-
     p.drawRect( *CropRect );
 
     p.setPen( QPen( QColor( "Grey" ), 0 ) );


More information about the Kstars-devel mailing list