(#621) Fixed crash when toggling a curve in a hidden plot.

Added missing guard of the Qt pointer
This commit is contained in:
Jacob Støren 2015-10-29 09:06:48 +01:00
parent 0d41d15fe9
commit 669bacb2a5

View File

@ -24,7 +24,7 @@
#include "cafPdmObject.h"
#include "RigWellLogCurveData.h"
#include <QPointer>
#include <vector>
class RigWellLogCurveData;
@ -81,7 +81,7 @@ protected:
virtual void initAfterRead();
RiuWellLogTrackPlot* m_ownerQwtTrack;
QPointer<RiuWellLogTrackPlot> m_ownerQwtTrack;
RiuWellLogPlotCurve* m_qwtPlotCurve;
cvf::ref<RigWellLogCurveData> m_curveData;