[Kst] extragear/graphics/kst/kst/extensions/js

George Staikos staikos at kde.org
Mon Jan 30 00:47:46 CET 2006


SVN commit 503706 by staikos:

just remove comments.  I think it's fine like this.


 M  +2 -6      bind_line.cpp  
 M  +2 -5      bind_viewobject.cpp  


--- trunk/extragear/graphics/kst/kst/extensions/js/bind_line.cpp #503705:503706
@@ -257,9 +257,7 @@
   KstViewLinePtr d = makeLine(_d);
   if (d) {
     KstWriteLocker wl(d);
-    d->setFrom(QPoint(int(imp->_x), int(imp->_y))); // FIXME: Point is the wrong
-                                                 // type to use here.  It's
-                                                 // a double, for one...
+    d->setFrom(QPoint(int(imp->_x), int(imp->_y)));
     KstApp::inst()->paintAll(KstPainter::P_PAINT);
   }
 }
@@ -285,9 +283,7 @@
   KstViewLinePtr d = makeLine(_d);
   if (d) {
     KstWriteLocker wl(d);
-    d->setTo(QPoint(int(imp->_x), int(imp->_y))); // FIXME: Point is the wrong
-                                                 // type to use here.  It's
-                                                 // a double, for one...
+    d->setTo(QPoint(int(imp->_x), int(imp->_y)));
     KstApp::inst()->paintAll(KstPainter::P_PAINT);
   }
 }
--- trunk/extragear/graphics/kst/kst/extensions/js/bind_viewobject.cpp #503705:503706
@@ -395,9 +395,7 @@
   KstViewObjectPtr d = makeViewObject(_d);
   if (d) {
     KstWriteLocker wl(d);
-    d->move(QPoint(int(imp->_x), int(imp->_y))); // FIXME: Point is the wrong
-                                                 // type to use here.  It's
-                                                 // a double, for one...
+    d->move(QPoint(int(imp->_x), int(imp->_y)));
     KstApp::inst()->paintAll(KstPainter::P_PAINT);
   }
 }
@@ -537,8 +535,7 @@
   KstViewObjectPtr d = makeViewObject(_d);
   if (d) {
     KstReadLocker rl(d);
-    KstViewObjectPtr vop = d->findChild(QPoint(int(imp->_x), int(imp->_y))); // FIXME
-
+    KstViewObjectPtr vop = d->findChild(QPoint(int(imp->_x), int(imp->_y)));
     if (vop) {
       return KJS::Object(KstBindViewObject::bind(exec, vop));
     }


More information about the Kst mailing list