Commit 3ca15eb8 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Make sure doubles and floats aren't mixed

On platforms where qreal is a float, not a double

svn path=/trunk/koffice/; revision=1074698
parent 8f60509e
......@@ -560,7 +560,7 @@ bool KoShape::hasTransparency()
void KoShape::setTransparency(qreal transparency)
{
Q_D(KoShape);
d->transparency = qBound(0.0, transparency, 1.0);
d->transparency = qBound<qreal>(0.0, transparency, 1.0);
}
qreal KoShape::transparency(bool recursive) const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment