summaryrefslogtreecommitdiffstats
path: root/src/svg
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-08-14 22:33:18 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-08-14 22:38:39 (GMT)
commitef682d7d0043d5054818908ffe1ba573ef6cb01b (patch)
tree614eb4d3248cd0b8c95249edb556eea72d0ac02b /src/svg
parent8198d35bd7123d4f34c21d9a8b4bab21b137a02b (diff)
downloadQt-ef682d7d0043d5054818908ffe1ba573ef6cb01b.zip
Qt-ef682d7d0043d5054818908ffe1ba573ef6cb01b.tar.gz
Qt-ef682d7d0043d5054818908ffe1ba573ef6cb01b.tar.bz2
Fixed compile.
Put QString::toReal back to QString::toDouble, there is no QString::toReal.
Diffstat (limited to 'src/svg')
-rw-r--r--src/svg/qsvghandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svg/qsvghandler.cpp b/src/svg/qsvghandler.cpp
index 5e07181..a79e4a0 100644
--- a/src/svg/qsvghandler.cpp
+++ b/src/svg/qsvghandler.cpp
@@ -1743,7 +1743,7 @@ static void parseOpacity(QSvgNode *node,
const QString value = attributes.value(QLatin1String("opacity")).toString().trimmed();
bool ok = false;
- qreal op = value.toReal(&ok);
+ qreal op = value.toDouble(&ok);
if (ok) {
QSvgOpacityStyle *opacity = new QSvgOpacityStyle(qBound(qreal(0.0), op, qreal(1.0)));