[Kde-bindings] KDE/kdebindings/ruby/qtruby

Richard Dale Richard_Dale at tipitina.demon.co.uk
Fri Jun 20 13:39:42 UTC 2008


SVN commit 822511 by rdale:

* Partly fix bug reported by Stefan Crocco - this explains why a slot
  return value of type QPoint was nil. However, it's value is wrong,
  and the problem with a QString return value crashing is still not
  explained.

CCMAIL: kde-bindings at kde.org



 M  +7 -0      ChangeLog  
 M  +1 -1      src/Qt.cpp  


--- trunk/KDE/kdebindings/ruby/qtruby/ChangeLog #822510:822511
@@ -1,3 +1,10 @@
+2008-06-20  Richard Dale  <richard.j.dale at gmail.com>
+
+	* Partly fix bug reported by Stefan Crocco - this explains why a slot
+	  return value of type QPoint was nil. However, it's value is wrong,
+	  and the problem with a QString return value crashing is still not
+	  explained.
+
 2008-06-13  Richard Dale  <richard.j.dale at gmail.com>
 
 	* Remove unnecessary special casing for Qt::TextEdit::ExtraSelection,
--- trunk/KDE/kdebindings/ruby/qtruby/src/Qt.cpp #822510:822511
@@ -951,7 +951,7 @@
 			name.replace("const ", "");
 			QString staticType = (rx->indexIn(name) != -1 ? rx->cap(1) : "ptr");
 			if (staticType == "ptr") {
-				arg->argType = xmoc_void;
+				arg->argType = xmoc_ptr;
 				typeId = smoke->idType(name.constData());
 				if (typeId == 0 && !name.contains('*')) {
 					name += "&";



More information about the Kde-bindings mailing list