SVN commit 1103346 by rdale: * The QtDBus classes weren't being correctly initialized as the count of classes was being taken from the QtSvg smoke lib. Thanks to Paulo Capriotti for finding the bug. CCMAIL: kde-bindings@kde.org M +6 -1 ChangeLog M +1 -1 src/qtruby.cpp --- branches/KDE/4.4/kdebindings/ruby/qtruby/ChangeLog #1103345:1103346 @@ -1,5 +1,10 @@ +2010-03-14 Richard Dale + + * The QtDBus classes weren't being correctly initialized as the count of + classes was being taken from the QtSvg smoke lib. Thanks to Paulo + Capriotti for finding the bug. + 2010-03-07 Richard Dale - * Fixed Qt::Object properties that were no longer working. Fixes bug 229784 reported by ruby.twiddler * Drag and drop events in Plasma applets weren't being handled correctly. --- branches/KDE/4.4/kdebindings/ruby/qtruby/src/qtruby.cpp #1103345:1103346 @@ -2124,7 +2124,7 @@ rb_ary_push(class_list, rb_str_new2(qtsvg_Smoke->classes[i].className)); } - for (int i = 1; i <= qtsvg_Smoke->numClasses; i++) { + for (int i = 1; i <= qtdbus_Smoke->numClasses; i++) { if (qtdbus_Smoke->classes[i].className && !qtdbus_Smoke->classes[i].external) rb_ary_push(class_list, rb_str_new2(qtdbus_Smoke->classes[i].className)); }