summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlpropertychanges.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-09-10 00:19:33 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-09-10 00:19:33 (GMT)
commita250db23c96fc1ec47ea4d19d62a19cad7c50b46 (patch)
tree640237f325d4a734ecc42c042812a497c7a1f190 /src/declarative/util/qmlpropertychanges.cpp
parentd3bd0567fbc16263fcb181d58529e6d7aeee1bbd (diff)
downloadQt-a250db23c96fc1ec47ea4d19d62a19cad7c50b46.zip
Qt-a250db23c96fc1ec47ea4d19d62a19cad7c50b46.tar.gz
Qt-a250db23c96fc1ec47ea4d19d62a19cad7c50b46.tar.bz2
Report custom parse errors verbosely.
Diffstat (limited to 'src/declarative/util/qmlpropertychanges.cpp')
-rw-r--r--src/declarative/util/qmlpropertychanges.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/declarative/util/qmlpropertychanges.cpp b/src/declarative/util/qmlpropertychanges.cpp
index b5e204f..1fe1731 100644
--- a/src/declarative/util/qmlpropertychanges.cpp
+++ b/src/declarative/util/qmlpropertychanges.cpp
@@ -106,7 +106,7 @@ class QmlPropertyChangesParser : public QmlCustomParser
public:
void compileList(QList<QPair<QByteArray, QVariant> > &list, const QByteArray &pre, const QmlCustomParserProperty &prop);
- virtual QByteArray compile(const QList<QmlCustomParserProperty> &, bool *ok);
+ virtual QByteArray compile(const QList<QmlCustomParserProperty> &);
virtual void setCustomData(QObject *, const QByteArray &);
};
@@ -137,11 +137,8 @@ QmlPropertyChangesParser::compileList(QList<QPair<QByteArray, QVariant> > &list,
}
QByteArray
-QmlPropertyChangesParser::compile(const QList<QmlCustomParserProperty> &props,
- bool *ok)
+QmlPropertyChangesParser::compile(const QList<QmlCustomParserProperty> &props)
{
- *ok = true;
-
QList<QPair<QByteArray, QVariant> > data;
for(int ii = 0; ii < props.count(); ++ii)
compileList(data, QByteArray(), props.at(ii));