From 631ae1704892b3a99f8ca1139efd9e9330dc0b68 2012-03-09 14:09:49 From: Marek Rosa Date: 2012-03-09 14:09:49 Subject: [PATCH] QBar series: Model related members initializations added to constructor --- diff --git a/src/barchart/qbarseries.cpp b/src/barchart/qbarseries.cpp index dac0e68..a8b92a1 100644 --- a/src/barchart/qbarseries.cpp +++ b/src/barchart/qbarseries.cpp @@ -37,6 +37,10 @@ QBarSeries::QBarSeries(QStringList categories, QObject *parent) : QSeries(parent) ,mModel(new BarChartModel(categories, this)) { + m_model = NULL; + m_mapCategories = -1; + m_mapBarBottom - 1; + m_mapBarTop - 1; } /*!