From 8f5b72388cbe1c0f2450aa45b8448780fe6ff4dc 2015-10-06 07:43:08 From: Miikka Heikkinen Date: 2015-10-06 07:43:08 Subject: [PATCH] Block opengl series from being used as areaseries edges Change-Id: I33f751e2b4f0cbdbe6fdd8ffb69552ab683f01ba Reviewed-by: Titta Heikkala --- diff --git a/src/charts/areachart/qareaseries.cpp b/src/charts/areachart/qareaseries.cpp index c6dd9f4..eff7b73 100644 --- a/src/charts/areachart/qareaseries.cpp +++ b/src/charts/areachart/qareaseries.cpp @@ -361,6 +361,10 @@ QT_CHARTS_BEGIN_NAMESPACE QAreaSeries::QAreaSeries(QLineSeries *upperSeries, QLineSeries *lowerSeries) : QAbstractSeries(*new QAreaSeriesPrivate(upperSeries, lowerSeries, this), upperSeries) { + if (upperSeries) + upperSeries->d_ptr->setBlockOpenGL(true); + if (lowerSeries) + lowerSeries->d_ptr->setBlockOpenGL(true); } /*!