Initialize variables related to plot titles.

Was triggering valgrind "jump depends on uninitialized values" warnings.
This commit is contained in:
Kristian Bendiksen 2020-08-21 11:50:16 +02:00 committed by rubenthoms
parent 4e7541513e
commit e5cdbfced6

View File

@ -72,6 +72,8 @@ RiuQwtPlotWidget::RiuQwtPlotWidget( RimPlot* plotDefinition, QWidget* parent )
: QwtPlot( parent )
, m_plotDefinition( plotDefinition )
, m_overlayMargins( 5 )
, m_plotTitle( "" )
, m_plotTitleEnabled( true )
{
CAF_ASSERT( m_plotDefinition );
RiuQwtPlotTools::setCommonPlotBehaviour( this );