diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-11-09 08:47:29 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-11-09 08:47:45 (GMT) |
commit | d3b1232df8fc8b238d1be8301e58c14e7102cce3 (patch) | |
tree | 443a9bf46f40a50a2eda3cd88721bde8c7463742 /src/declarative/qml/qmlrewrite_p.h | |
parent | f0f2819df0a7f3533c24171f27028c68872437af (diff) | |
download | Qt-d3b1232df8fc8b238d1be8301e58c14e7102cce3.zip Qt-d3b1232df8fc8b238d1be8301e58c14e7102cce3.tar.gz Qt-d3b1232df8fc8b238d1be8301e58c14e7102cce3.tar.bz2 |
Don't crash on invalid expressions
QTBUG-5577
Diffstat (limited to 'src/declarative/qml/qmlrewrite_p.h')
-rw-r--r-- | src/declarative/qml/qmlrewrite_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlrewrite_p.h b/src/declarative/qml/qmlrewrite_p.h index 914f997..a5cb841 100644 --- a/src/declarative/qml/qmlrewrite_p.h +++ b/src/declarative/qml/qmlrewrite_p.h @@ -69,7 +69,7 @@ class RewriteBinding: protected AST::Visitor TextWriter *_writer; public: - QString operator()(const QString &code); + QString operator()(const QString &code, bool *ok = 0); protected: using AST::Visitor::visit; |