[Clam-devel] Turnaround: progress dialog crash

David García Garzón dgarcia at iua.upf.edu
Fri Aug 15 04:04:06 PDT 2008


Also do not delete the widgets on the Turnaround constructor. Qt deletes all 
the child widgets for you. This is causing a segmentation fault at the end of 
the program.


On Divendres 15 Agost 2008, Pawel Bartkiewicz wrote:
> > Just try, setSource(0) on the widgets. After analysis reset it again to
> > the storage sources. Also the set current time could be a problem. Stop
> > the timer
> > or add a mean to control whether to send it.
>
> I tried it, but it doesn't work because setSource takes a reference
> instead of a pointer. However, I can try creating a dummy data source
> which would be set instead of 0.
>
> > No need to make it static, just make it a member of the window. The
> > problem with TonalAnalysis is that Configuration is expensive.
> > Configuration is don on explicit configuration but also on construction,
> > and this turn into three times in Network xml loading. (Pau i still don't
> > understand why that extra configuration is needed, we should fix the
> > processing that require it).
>
> Yes, that's what I meant, but I couldn't find a suitable word when
> writing that email, so I used quotation marks around "static".
>
> Pawel



-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
http://www.iua.upf.edu/~dgarcia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080815/f6a79bc2/attachment.sig>


More information about the clam-devel mailing list