[Kde-bindings] KDE/kdebindings/qtruby

Richard Dale Richard_Dale at tipitina.demon.co.uk
Tue Jul 18 10:01:28 UTC 2006


SVN commit 563719 by rdale:

* The code to change a Ruby 'foo?' method call to a Qt C++ 'setFoo()' was 
  using QStrings to change the text. However, it then converted the result
  to a QByteArray via toLatin() and referenced the contents of the 
  QByteArray via a 'const char *' cast when the QByteArray had gone out of
  scope and had been deleted. Thanks to Carlto Wang again for reporting 
  this bug.

* Some of the code for debug logging of garbage collection wrote spurious
  newlines

CCMAIL: kde-bindings at kde.org
CCMAIL: charlton at cs.utoronto.ca


 M  +12 -0     ChangeLog  
 M  +20 -20    rubylib/qtruby/Qt.cpp  
 M  +10 -10    rubylib/qtruby/handlers.cpp  





More information about the Kde-bindings mailing list