[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/kstars/kstars
From:       Akarsh Simha <akarshsimha () gmail ! com>
Date:       2011-01-01 4:27:41
Message-ID: 20110101042741.B3C76AC8C4 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1210560 by asimha:

Remove some ugly debugging messages.

 M  +0 -5      skymap.h  
 M  +0 -5      skymapevents.cpp  
 M  +0 -4      skymapqdraw.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/skymap.h #1210559:1210560
@@ -542,11 +542,6 @@
      */
     virtual void resizeEvent( QResizeEvent * );
 
-    /**
-     *@short Asks the SkyMapDrawWidget to repaint itself
-     */
-    virtual void paintEvent( QPaintEvent *e );
-
 private slots:
     /**Gradually fade the Transient Hover Label into the background sky color, and
     	*redraw the screen after each color change.  Once it has faded fully, set the 
--- trunk/KDE/kdeedu/kstars/kstars/skymapevents.cpp #1210559:1210560
@@ -685,11 +685,6 @@
 }
 */
 
-void SkyMap::paintEvent( QPaintEvent *e ) {
-    // Do nothing for now.
-    kDebug() << "Was here";
-}
-
 double SkyMap::zoomFactor( const int modifier ) {
     double factor = ( modifier & Qt::ControlModifier) ? DZOOM : 2.0; 
     if ( modifier & Qt::ShiftModifier ) 
--- trunk/KDE/kdeedu/kstars/kstars/skymapqdraw.cpp #1210559:1210560
@@ -35,8 +35,6 @@
     //use update() to trigger this "short" paint event; to force a full "recompute"
     //of the skymap, use forceUpdate().
 
-    kDebug() << "Was here!";
-
     if(m_framecount == 25) {
         float sec = m_fpstime.elapsed()/1000.;
         printf("FPS: %.2f\n", m_framecount/sec);
@@ -79,12 +77,10 @@
     psky2.end();
     
     m_SkyMap->computeSkymap = false;	// use forceUpdate() to compute new skymap else old pixmap will be shown
-    kDebug() << "Finished with paint!";
 
 }
 
 void SkyMapQDraw::resizeEvent( QResizeEvent *e ) {
-    kDebug() << "In resize!";
     delete m_SkyPixmap;
     m_SkyPixmap = new QPixmap( width(), height() );
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic