[Kde-bindings] KDE/kdebindings/ruby/qtscript
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Mon Jul 20 22:17:12 UTC 2009
SVN commit 1000145 by rdale:
* Some of the QtScript classes, such as QScriptValue, were being wrongly put into a
Ruby QScript:: module and named QScript::Value instead of Qt::ScriptValue. Thanks
to David Palacio for reporting the bug
CCMAIL: kde-bindings at kde.org
M +2 -1 qtscript.rb
--- trunk/KDE/kdebindings/ruby/qtscript/qtscript.rb #1000144:1000145
@@ -31,7 +31,8 @@
id = Qt::Internal::findClass(c);
Qt::Internal::insert_pclassid(classname, id)
Qt::Internal::cpp_names[classname] = c
- klass = Qt::Internal::isQObject(c) ? Qt::Internal::create_qobject_class(classname, Qt) : Qt::Internal::create_qt_class(classname, QtScript)
+ klass = Qt::Internal::isQObject(c) ? Qt::Internal::create_qobject_class(classname, Qt) \
+ : Qt::Internal::create_qt_class(classname, Qt)
Qt::Internal::classes[classname] = klass unless klass.nil?
end
end
More information about the Kde-bindings
mailing list