[Kst] [kst] [Bug 342642] Kst 2.0.8 fails to compile on Fedora Rawhide Arm
Orion Poplawski
orion at cora.nwra.com
Wed Jan 14 23:54:31 UTC 2015
https://bugs.kde.org/show_bug.cgi?id=342642
--- Comment #5 from Orion Poplawski <orion at cora.nwra.com> ---
Hmm, I seemed to have missed the vector changes somehow, but I think you are
missing:
diff --git a/src/libkstmath/curve.cpp b/src/libkstmath/curve.cpp
index 7e8c4bb..79182e6 100644
--- a/src/libkstmath/curve.cpp
+++ b/src/libkstmath/curve.cpp
@@ -684,7 +684,7 @@ RelationPtr Curve::makeDuplicate() const {
// and not just pulled out of the air by what looks ~good.
// They are currently "about right" for printing to US Letter.
double Curve::pointDim(QRectF w) const {
- return qMax(qreal(1.01), PointSize * ((w.width() + w.height()) * (1.0 /
4000.0)));
+ return qMax(double(1.01), PointSize * ((w.width() + w.height()) * (1.0 /
4000.0)));
}
double Curve::lineDim(const QRectF &R, double linewidth) {
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kst
mailing list