From 69adb3adfb040efa84d3f33fce79faa5cb2f94c7 Mon Sep 17 00:00:00 2001 From: jkriege2 Date: Thu, 25 Aug 2022 15:30:39 +0200 Subject: [PATCH] bugfix --- lib/jkqtplotter/graphs/jkqtpscatter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/jkqtplotter/graphs/jkqtpscatter.cpp b/lib/jkqtplotter/graphs/jkqtpscatter.cpp index 113eb6712f..cba15c5ad8 100644 --- a/lib/jkqtplotter/graphs/jkqtpscatter.cpp +++ b/lib/jkqtplotter/graphs/jkqtpscatter.cpp @@ -1,7 +1,7 @@ /* Copyright (c) 2008-2022 Jan W. Krieger () - + This software is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by @@ -133,10 +133,10 @@ void JKQTPXYLineGraph::draw(JKQTPEnhancedPainter& painter) { if (linesP.size()>0) { if (isHighlighted()) { painter.setPen(penSelection); - painter.drawPolyline(linesP.data(), linesP.size()); + painter.drawPolyline(linesP); } painter.setPen(p); - painter.drawPolyline(linesP.data(), linesP.size()); + painter.drawPolyline(linesP); } } }