[Kde-bindings] KDE/kdebindings/qtruby

Richard Dale Richard_Dale at tipitina.demon.co.uk
Wed Jun 7 13:48:46 UTC 2006


SVN commit 549109 by rdale:

* qt_metacall() was returning an incorrect value when called with, 
  Ruby slots. This doesn't normally matter, but was causing D-BUS
  slot invocations via qt-dbus to fail.

CCMAIL: kde-bindings at kde.org



 M  +6 -0      ChangeLog  
 M  +1 -1      rubylib/qtruby/Qt.cpp  


--- trunk/KDE/kdebindings/qtruby/ChangeLog #549108:549109
@@ -1,3 +1,9 @@
+2006-06-07  Richard Dale  <rdale at foton.es>
+
+	* qt_metacall() was returning an incorrect value when called with, 
+	  Ruby slots. This doesn't normally matter, but was causing D-BUS
+	  slot invocations via qt-dbus to fail.
+
 2006-06-05  Richard Dale  <rdale at foton.es>
 
 	* Added support for q_classinfo() attributes, equivalent to the c++
--- trunk/KDE/kdebindings/qtruby/rubylib/qtruby/Qt.cpp #549108:549109
@@ -1774,7 +1774,7 @@
 	InvokeSlot slot(self, rb_intern(name.toLatin1()), mocArgs, _o);
 	slot.next();
 	
-	return INT2NUM(id - (count - offset));
+	return INT2NUM(id - count);
 }
 
 



More information about the Kde-bindings mailing list