[Kst] extragear/graphics/kst/kst

George Staikos staikos at kde.org
Fri Dec 2 18:42:52 CET 2005


SVN commit 485046 by staikos:

remove an oddity from kst2dplot (non-functional change) and a stale comment


 M  +1 -2      kst2dplot.cpp  
 M  +0 -1      ksttoplevelview.cpp  


--- trunk/extragear/graphics/kst/kst/kst2dplot.cpp #485045:485046
@@ -6537,8 +6537,7 @@
   Q_UNUSED(tz)
   Q_UNUSED(utcOffset)
   setDirty();
-  KstViewWidget *view = KstApp::inst()->activeView()->widget();
-  static_cast<KstViewWidget*>(view)->paint();
+  KstApp::inst()->activeView()->widget()->paint();
 }
 
 
--- trunk/extragear/graphics/kst/kst/ksttoplevelview.cpp #485045:485046
@@ -602,7 +602,6 @@
 }
 
 
-// Optimize me: can store, for instance, the painter I think
 void KstTopLevelView::pressMove(const QPoint& pos, bool shift) {
   if (_activeHandler) {
     _activeHandler->pressMove(this, pos, shift, _geom);  


More information about the Kst mailing list