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

George Staikos staikos at kde.org
Sun May 29 12:59:01 CEST 2005


SVN commit 419402 by staikos:

paint when changes are made


 M  +4 -0      bind_viewobject.cpp  


--- trunk/extragear/graphics/kst/kst/extensions/js/bind_viewobject.cpp #419401:419402
@@ -21,6 +21,8 @@
 #include "bind_point.h"
 #include "bind_size.h"
 
+#include <kst.h>
+
 #include <kdebug.h>
 
 using namespace KJSEmbed;
@@ -206,6 +208,7 @@
   }
   KstWriteLocker wl(_d);
   _d->resize(imp->_sz);
+  KstApp::inst()->paintAll(P_PAINT);
 }
 
 
@@ -232,6 +235,7 @@
   _d->move(QPoint(int(imp->_x), int(imp->_y))); // FIXME: Point is the wrong
                                                 // type to use here.  It's
                                                 // a double, for one...
+  KstApp::inst()->paintAll(P_PAINT);
 }
 
 


More information about the Kst mailing list