diff --git a/src/charts/axis/qabstractaxis.cpp b/src/charts/axis/qabstractaxis.cpp index d290e40..17cdfa9 100644 --- a/src/charts/axis/qabstractaxis.cpp +++ b/src/charts/axis/qabstractaxis.cpp @@ -976,7 +976,7 @@ void QAbstractAxisPrivate::initializeTheme(ChartTheme* theme, bool forced) q_ptr->setLinePen(theme->axisLinePen()); if (forced || QChartPrivate::defaultPen() == m_gridLinePen) - q_ptr->setGridLinePen(theme->girdLinePen()); + q_ptr->setGridLinePen(theme->gridLinePen()); if (forced || QChartPrivate::defaultPen() == m_minorGridLinePen) q_ptr->setMinorGridLinePen(theme->minorGridLinePen()); diff --git a/src/charts/themes/charttheme_p.h b/src/charts/themes/charttheme_p.h index 143e135..2db09f2 100644 --- a/src/charts/themes/charttheme_p.h +++ b/src/charts/themes/charttheme_p.h @@ -65,7 +65,7 @@ public: QBrush backgroundShadesBrush() const { return m_backgroundShadesBrush; } BackgroundShadesMode backgroundShades() const { return m_backgroundShades; } bool isBackgroundDropShadowEnabled() const { return m_backgroundDropShadowEnabled; } - QPen girdLinePen() const { return m_gridLinePen; } + QPen gridLinePen() const { return m_gridLinePen; } QPen minorGridLinePen() const { return m_minorGridLinePen; } protected: