Changeset ae226e7 in vtool


Ignore:
Timestamp:
01/21/15 18:07:05 (5 years ago)
Author:
Tarmo Kople <tarmo@…>
Branches:
master
Children:
0676e15
Parents:
d8de941
git-author:
Tarmo Kople <tarmo@…> (01/21/15 18:07:05)
git-committer:
Tarmo Kople <tarmo@…> (01/21/15 18:07:05)
Message:

+ fixed build issue on Raspberry pi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Vtool/modules/qcustomplot.cpp

    rf45e99c rae226e7  
    1205712057  // get visible segment of straight line inside clipRect: 
    1205812058  double clipPad = qMax(mHead.boundingDistance(), mTail.boundingDistance()); 
    12059   clipPad = qMax(clipPad, mainPen().widthF()); 
     12059  clipPad = qMax(clipPad, (double)mainPen().widthF()); 
    1206012060  QLineF line = getRectClippedLine(startVec, endVec, clipRect().adjusted(-clipPad, -clipPad, clipPad, clipPad)); 
    1206112061  // paint visible segment, if existent: 
Note: See TracChangeset for help on using the changeset viewer.