diff --git a/src/axis/qchartaxiscategories.cpp b/src/axis/qchartaxiscategories.cpp index 07024b0..50e3189 100644 --- a/src/axis/qchartaxiscategories.cpp +++ b/src/axis/qchartaxiscategories.cpp @@ -44,7 +44,6 @@ void QChartAxisCategories::clear() int QChartAxisCategories::count() { return m_map.count(); - emit updated(); } QList QChartAxisCategories::values() const diff --git a/src/chartdataset.cpp b/src/chartdataset.cpp index 412efb0..53a3de7 100644 --- a/src/chartdataset.cpp +++ b/src/chartdataset.cpp @@ -248,7 +248,6 @@ void ChartDataSet::calculateDomain(QSeries* series,Domain* domain) default: { qDebug()<<__FUNCTION__<<"type" << series->type()<<"not supported"; return; - break; } } diff --git a/src/scatterseries/scatterchartitem_p.h b/src/scatterseries/scatterchartitem_p.h index 3e61a37..e716f0b 100644 --- a/src/scatterseries/scatterchartitem_p.h +++ b/src/scatterseries/scatterchartitem_p.h @@ -52,7 +52,7 @@ class Marker: public QAbstractGraphicsShapeItem public: - Marker(QAbstractGraphicsShapeItem *item , ScatterChartItem *parent) : QAbstractGraphicsShapeItem(0) ,m_item(item), m_parent(parent) + Marker(QAbstractGraphicsShapeItem *item , ScatterChartItem *parent) : QAbstractGraphicsShapeItem(0) ,m_item(item), m_parent(parent), m_index(-1) { };