[qwtpolar/f18] commit awol patch

Rex Dieter rdieter at fedoraproject.org
Tue Dec 18 18:12:23 UTC 2012


commit 14a0f9f914440cfef5ec3b6c432572699bd4b326
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Tue Dec 18 12:12:38 2012 -0600

    commit awol patch

 qwtpolar-1.0.1-qreal.patch |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/qwtpolar-1.0.1-qreal.patch b/qwtpolar-1.0.1-qreal.patch
new file mode 100644
index 0000000..ea6d9e5
--- /dev/null
+++ b/qwtpolar-1.0.1-qreal.patch
@@ -0,0 +1,12 @@
+diff -up qwtpolar-1.0.1/src/qwt_polar_curve.cpp.qreal qwtpolar-1.0.1/src/qwt_polar_curve.cpp
+--- qwtpolar-1.0.1/src/qwt_polar_curve.cpp.qreal	2012-06-15 07:56:55.000000000 -0500
++++ qwtpolar-1.0.1/src/qwt_polar_curve.cpp	2012-12-18 11:50:19.259677931 -0600
+@@ -433,7 +433,7 @@ void QwtPolarCurve::drawLines( QPainter
+ 
+     if ( !clipRect.isEmpty() )
+     {
+-        double off = qCeil( qMax( 1.0, painter->pen().widthF() ) );
++        double off = qCeil( qMax( (qreal)1.0, painter->pen().widthF() ) );
+         clipRect = clipRect.toRect().adjusted( -off, -off, off, off );
+         polyline = QwtClipper::clipPolygonF( clipRect, polyline );
+     }


More information about the scm-commits mailing list