From kde-commits Mon Jun 28 17:18:02 2010 From: Alexey Khudyakov Date: Mon, 28 Jun 2010 17:18:02 +0000 To: kde-commits Subject: KDE/kdeedu/kstars/kstars/skycomponents Message-Id: <20100628171802.E8E38AC8E6 () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=127774498723096 SVN commit 1143781 by khudyakov: remove call map->onscreenLine it doesn't affect perfomance and correctness. I believe it was created as optimization M +1 -1 linelistindex.cpp --- trunk/KDE/kdeedu/kstars/kstars/skycomponents/linelistindex.cpp #1143780:1143781 @@ -249,7 +249,7 @@ oThis2 = oThis = map->toScreen( pThis, true, &isVisible ); if ( map->onScreen( oThis, oLast) && ! skipAt( lineList, j ) ) { - if ( isVisible && isVisibleLast && map->onscreenLine( oLast, oThis ) ) { + if ( isVisible && isVisibleLast ) { psky.drawLine( oLast, oThis ); updateLabelCandidates( oThis, lineList, j ); } else if ( isVisibleLast ) {