[Kst] branches/kst/1.3/kst/src/libkstapp
George Staikos
staikos at kde.org
Fri Sep 29 00:25:26 CEST 2006
SVN commit 589912 by staikos:
backport fix for crash in #134686
M +4 -1 kst2dplot.cpp
--- branches/kst/1.3/kst/src/libkstapp/kst2dplot.cpp #589911:589912
@@ -580,6 +580,9 @@
_xReversed = plot._xReversed;
_yReversed = plot._yReversed;
+ _lineWidthMarkers = plot._lineWidthMarkers;
+ _lineStyleMarkers = plot._lineStyleMarkers;
+
Curves = plot.Curves;
}
@@ -5598,7 +5601,7 @@
void Kst2DPlot::plotPlotMarkers(KstPainter& p,
double m_X, double b_X, double x_max, double x_min,
double y_px, double ytop_bdr_px, double ybot_bdr_px) {
- int width = lineWidthMarkers() * p.lineWidthAdjustmentFactor();
+ const int width = lineWidthMarkers() * p.lineWidthAdjustmentFactor();
if (defaultColorMarker()) {
p.setPen(QPen(foregroundColor(), width, KstLineStyle[lineStyleMarkers()]));
More information about the Kst
mailing list