From ae49017f3b46d14f9c5b8735ffb67f020d100605 Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 17 Jul 2012 10:26:41 +0000 Subject: [PATCH] Non-solid lines are disabled in GUITHARE (potential fix for the issue 0001211: External 20622 regression: Multi Fort21 XUSER) --- src/Plot2d/Plot2d_ViewFrame.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Plot2d/Plot2d_ViewFrame.cxx b/src/Plot2d/Plot2d_ViewFrame.cxx index e5100107e..e397b6326 100755 --- a/src/Plot2d/Plot2d_ViewFrame.cxx +++ b/src/Plot2d/Plot2d_ViewFrame.cxx @@ -1987,7 +1987,10 @@ void Plot2d_Plot2d::getNextMarker( QwtSymbol::Style& typeMarker, QColor& color, int aGreen = (int)( 256.0 * rand() / RAND_MAX); // ... int aBlue = (int)( 256.0 * rand() / RAND_MAX); // ... int aMarker = (int)( 9.0 * rand() / RAND_MAX) + 1; // 9 markers types ( not including empty ) - int aLine = (int)( 5.0 * rand() / RAND_MAX) + 1; // 5 line types ( not including empty ) + + // non-solid lines are disabled in GUITHARE + // (see the issue 0001211: External 20622 regression: Multi Fort21 XUSER) + int aLine = Qt::SolidLine;//(int)( 5.0 * rand() / RAND_MAX) + 1; // 5 line types ( not including empty ) typeMarker = Plot2d::plot2qwtMarker( (Plot2d::MarkerType)aMarker ); -- 2.39.2