Ignore:
Timestamp:
Jul 28, 2016, 10:32:40 AM (8 years ago)
Author:
stuerze
Message:

minor adaptations to allow the successful comilation of BNC on a Rasperry Pi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/qwtpolar/qwt_polar_curve.cpp

    r4272 r7991  
    434434    if ( !clipRect.isEmpty() )
    435435    {
    436         double off = qCeil( qMax( 1.0, painter->pen().widthF() ) );
     436        double off = qCeil( qMax(qreal(1.0), painter->pen().widthF() ) );
    437437        clipRect = clipRect.toRect().adjusted( -off, -off, off, off );
    438438        polyline = QwtClipper::clipPolygonF( clipRect, polyline );
Note: See TracChangeset for help on using the changeset viewer.