##// END OF EJS Templates
fix some Cppcheck findings
Jani Honkonen -
r1919:91b94c58701c
parent child
Show More
@@ -38,7 +38,6 protected:
38
38
39 private:
39 private:
40 bool m_isScrolling;
40 bool m_isScrolling;
41 bool m_isRubberBandShown;
42 QRubberBand m_rubberBand;
41 QRubberBand m_rubberBand;
43 QPoint m_origin;
42 QPoint m_origin;
44 };
43 };
@@ -91,8 +91,6 private:
91 QMap<QAbstractSeries*, QAbstractAxis*> m_seriesAxisYMap;
91 QMap<QAbstractSeries*, QAbstractAxis*> m_seriesAxisYMap;
92 QMap<QAbstractSeries*, Domain*> m_seriesDomainMap;
92 QMap<QAbstractSeries*, Domain*> m_seriesDomainMap;
93 QMap<int, QAbstractSeries*> m_indexSeriesMap;
93 QMap<int, QAbstractSeries*> m_indexSeriesMap;
94 int m_domainIndex;
95
96 };
94 };
97
95
98 QTCOMMERCIALCHART_END_NAMESPACE
96 QTCOMMERCIALCHART_END_NAMESPACE
@@ -63,6 +63,7
63 QTCOMMERCIALCHART_BEGIN_NAMESPACE
63 QTCOMMERCIALCHART_BEGIN_NAMESPACE
64
64
65 ChartTheme::ChartTheme(QChart::ChartTheme id) :
65 ChartTheme::ChartTheme(QChart::ChartTheme id) :
66 m_id(id),
66 m_masterFont(QFont("arial", 14)),
67 m_masterFont(QFont("arial", 14)),
67 m_labelFont(QFont("arial", 10)),
68 m_labelFont(QFont("arial", 10)),
68 m_labelBrush(QColor(QRgb(0x000000))),
69 m_labelBrush(QColor(QRgb(0x000000))),
@@ -74,7 +75,6 ChartTheme::ChartTheme(QChart::ChartTheme id) :
74 m_gridLinePen(QPen(QRgb(0x000000))),
75 m_gridLinePen(QPen(QRgb(0x000000))),
75 m_force(false)
76 m_force(false)
76 {
77 {
77 m_id = id;
78 qsrand(QTime(0,0,0).secsTo(QTime::currentTime()));
78 qsrand(QTime(0,0,0).secsTo(QTime::currentTime()));
79 }
79 }
80
80
@@ -51,9 +51,6 private:
51
51
52 private:
52 private:
53 QLegend* m_legend;
53 QLegend* m_legend;
54 int m_marginBig;
55 int m_marginSmall;
56 int m_marginTiny;
57 qreal m_offsetX;
54 qreal m_offsetX;
58 qreal m_offsetY;
55 qreal m_offsetY;
59 qreal m_minOffsetX;
56 qreal m_minOffsetX;
General Comments 0
You need to be logged in to leave comments. Login now