From 65c23c9669995bb222b69d6e03788db447f2b2b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C4=8Cert=C3=ADk?= Date: Thu, 28 Nov 2019 20:33:53 -0700 Subject: [PATCH] Use linesP and vec_linesP names --- lib/jkqtplotter/graphs/jkqtpscatter.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/jkqtplotter/graphs/jkqtpscatter.cpp b/lib/jkqtplotter/graphs/jkqtpscatter.cpp index d484f1a54b..04bdd30663 100644 --- a/lib/jkqtplotter/graphs/jkqtpscatter.cpp +++ b/lib/jkqtplotter/graphs/jkqtpscatter.cpp @@ -94,8 +94,8 @@ void JKQTPXYLineGraph::draw(JKQTPEnhancedPainter& painter) { //double yold=-1; //bool first=false; //QVector lines; - std::vector linesP; - linesP.push_back(QPolygonF()); + std::vector vec_linesP; + vec_linesP.push_back(QPolygonF()); intSortData(); for (int iii=imin; iiigetXAxis()->isLogAxis() || xv>0.0) && (!parent->getYAxis()->isLogAxis() || yv>0.0) ) { plotStyledSymbol(parent, painter, x, y); if (drawLine) { - linesP[linesP.size()-1] << QPointF(x,y); + vec_linesP[vec_linesP.size()-1] << QPointF(x,y); } } else { - linesP.push_back(QPolygonF()); + vec_linesP.push_back(QPolygonF()); } } } //qDebug()<<"JKQTPXYLineGraph::draw(): "<<4<<" lines="<