18 Sep 21:54
QwtPlotCurve deleted with clear() ?
From: Ormond, Randy <Randy.Ormond <at> mdnt.com>
Subject: QwtPlotCurve deleted with clear() ?
Newsgroups: gmane.comp.graphics.qwt.general
Date: 2008-09-18 19:55:00 GMT
Subject: QwtPlotCurve deleted with clear() ?
Newsgroups: gmane.comp.graphics.qwt.general
Date: 2008-09-18 19:55:00 GMT
Hello, It appears that clear() is deleting my QwtPlotCurve pointers, leading to a segfault when I try to reuse them. autoDelete() is turned off, although it's not clear if should matter, because the QwtPlot itself is not being deleted. The documentation seems to be telling me that the curves should not be deleted, just removed from the plot. But I guess I'm misreading something. Should clear() delete the curves? Thanks, Randy Ormond ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
RSS Feed