Hi Uwe,
I'm facing a small problem here related to my design.
In my design, I have a QwtMatrixRasterData that is defined/declared in a class that handle IO and fill it with suited data. This class is also in charge of deleting this guy.
But I realize that QwtPlotSpectrogram tries to delete also this raster data when the destructor is invoked. So I have a double free corruption happening. Is there a way to call a "unSetData()" method to remove the pointer stored in the QwtPlotSpectrogram then avoid to destroy it?
Am I supposed to let QwtPlotSpectrogram destroy the QwtMatrixRasterData so that I have to change the way to address this data?
I went down to the code and I saw that it is not implement the way I could have the raster data deleted outside. But probably their is a possibility?
Thanks by advance.
Bookmarks