diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-10-26 05:01:04 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-10-26 05:48:03 (GMT) |
commit | 7eddab2dc75c79b05d86e2e4b48ac9f4cf102406 (patch) | |
tree | 6b20d36794fe61a42d3c65b3dee9b7cf335883fe /src/declarative | |
parent | 5d5630f19afdecf0d68092d852d0e49d78ffd7b4 (diff) | |
download | Qt-7eddab2dc75c79b05d86e2e4b48ac9f4cf102406.zip Qt-7eddab2dc75c79b05d86e2e4b48ac9f4cf102406.tar.gz Qt-7eddab2dc75c79b05d86e2e4b48ac9f4cf102406.tar.bz2 |
Don't need this check.
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/util/qmlpropertychanges.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/declarative/util/qmlpropertychanges.cpp b/src/declarative/util/qmlpropertychanges.cpp index bed27fe..7e1f15c 100644 --- a/src/declarative/util/qmlpropertychanges.cpp +++ b/src/declarative/util/qmlpropertychanges.cpp @@ -85,8 +85,7 @@ class QmlReplaceSignalHandler : public ActionEvent public: QmlReplaceSignalHandler() : expression(0), reverseExpression(0), ownedExpression(0) {} ~QmlReplaceSignalHandler() { - if (ownedExpression) - delete ownedExpression; + delete ownedExpression; } virtual QString typeName() const { return QLatin1String("ReplaceSignalHandler"); } |