diff options
Diffstat (limited to 'src/datavisualization/data/barrenderitem_p.h')
-rw-r--r-- | src/datavisualization/data/barrenderitem_p.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/datavisualization/data/barrenderitem_p.h b/src/datavisualization/data/barrenderitem_p.h index 6cd2b0fa..a837ff2c 100644 --- a/src/datavisualization/data/barrenderitem_p.h +++ b/src/datavisualization/data/barrenderitem_p.h @@ -47,8 +47,8 @@ public: inline const QPoint &position() const { return m_position; } // Actual cached data value of the bar (needed to trigger label reformats) - inline void setValue(qreal value); - inline qreal value() const { return m_value; } + inline void setValue(float value); + inline float value() const { return m_value; } // Normalized bar height inline void setHeight(GLfloat height) { m_height = height; } @@ -62,7 +62,7 @@ public: QString &sliceLabel(); // Formats label if not previously formatted protected: - qreal m_value; + float m_value; QPoint m_position; // x = row, y = column GLfloat m_height; QString m_sliceLabel; @@ -71,7 +71,7 @@ protected: friend class QBarDataItem; }; -void BarRenderItem::setValue(qreal value) +void BarRenderItem::setValue(float value) { m_value = value; // Force reformatting on next access by setting label string to null string |