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