Qt Declarative (Quick 2)
Go to file
Alberto Mardegan 843e222b17 QQmlPropertyCache: check methods before properties
When creating the QQmlPropertyData, search within the methods list
before searching for properties. The reason is that if the meta object
is dynamic, looking up a property will always return a result (if the
property doesn't exist, it will be created) and therefore all methods
will be obscured.
By swapping the search order, we eliminate this risk (methods are not
dynamically added).

Task-number: QTBUG-29836
Change-Id: Ie367f757c37ef4bc834a6c1c009f27bcf344fe76
Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
2013-05-31 22:33:21 +02:00
bin Update copyright year in Digia's license headers 2013-01-10 19:52:37 +01:00
dist Make sure tryCompare value argument is not undefined 2013-05-29 08:23:09 +02:00
examples Added QQuickWindow::setDefaultAlphaBuffer() 2013-05-30 14:19:02 +02:00
src QQmlPropertyCache: check methods before properties 2013-05-31 22:33:21 +02:00
tests QQmlPropertyCache: check methods before properties 2013-05-31 22:33:21 +02:00
tools qmlscene: Set window flags correctly. 2013-05-23 13:31:48 +02:00
.gitattributes Update the git-archive export options 2012-09-10 14:24:05 +02:00
.gitignore Add qmake generated files to .gitignore. 2012-12-21 08:46:37 +01:00
.qmake.conf Bump MODULE_VERSION to 5.1.0 2013-03-26 16:26:54 +01:00
.tag Update the git-archive export options 2012-09-10 14:24:05 +02:00
LGPL_EXCEPTION.txt Add license files mandated by (L)GPL. 2013-02-15 00:03:10 +01:00
LICENSE.FDL Add license files mandated by (L)GPL. 2013-02-15 00:03:10 +01:00
LICENSE.GPL Add license files mandated by (L)GPL. 2013-02-15 00:03:10 +01:00
LICENSE.LGPL Add license files mandated by (L)GPL. 2013-02-15 00:03:10 +01:00
qtdeclarative.pro adjust to new "configure -nomake tools" semantics 2013-05-08 15:01:47 +02:00
sync.profile sync.profile: Point dependencies to an empty string 2013-05-27 17:55:09 +02:00