~smartboyhw/ubuntu/raring/calligra/2.6.0-0ubuntu1

« back to all changes in this revision

Viewing changes to krita/ui/canvas/kis_coordinates_converter.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-10-09 10:27:34 UTC
  • Revision ID: package-import@ubuntu.com-20121009102734-q7jgb678a27aoo96
Tags: 1:2.5.3-0ubuntu2
Add kubuntu_04_arm_compile.diff fix compilation on ARM

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
 
74
74
    QPointF range = maxOffset - minOffset;
75
75
 
76
 
    range.rx() = qMin(range.x(), 0.0);
77
 
    range.ry() = qMin(range.y(), 0.0);
 
76
    range.rx() = qMin(range.x(), (qreal)0.0);
 
77
    range.ry() = qMin(range.y(), (qreal)0.0);
78
78
 
79
79
    range /= 2;
80
80