[Clam-devel] ladspa bug fix

Andreas Calvo flipy.bcn at gmail.com
Tue Apr 17 11:32:47 PDT 2007


In order to clean code from LADSPA, a small bug fix patch has been done in
the ProcessingTree.cxx file.
The fact is that whenever creating a new QTreeWidgetObject [1], two
parameters must be provided. The second one is what will be the name of the
item, and by default is stored on column 0.
But, as LADSPA requires to store a description and a factory identifier, it
was using a hidden column 1 to store the factory ID, and via #ifdef
selecting which column to use to instantiate the object.
Now both CLAM plugins and LADSPA plugins use column 1, so no selection has
to be made.

[1] http://doc.trolltech.com/4.3/qtreewidgetitem.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20070417/cedef2f6/attachment-0003.htm>


More information about the clam-devel mailing list