diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-07-26 13:40:10 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-07-26 14:05:15 (GMT) |
commit | 2ecb7eebdc950eb559b9203d70077301b8b5a3b1 (patch) | |
tree | de1bfc9cbf20849be52b7ed48cb4cf461f6c647a /src/opengl/qwindowsurface_gl.cpp | |
parent | a882a46b1c60e5774ade68eaac60922b19a08835 (diff) | |
download | Qt-2ecb7eebdc950eb559b9203d70077301b8b5a3b1.zip Qt-2ecb7eebdc950eb559b9203d70077301b8b5a3b1.tar.gz Qt-2ecb7eebdc950eb559b9203d70077301b8b5a3b1.tar.bz2 |
QDeclarativeEngineDebugServer: Fix crash when trying to update non-properties.
QDeclarativePropertyPrivate::setBinding would delete the binding if
it cannot set the property. Then the call to binding->update() would
crash. So test for (property.isProperty()) before.
Also this will display a warning in the application output if the
property cannot be changed.
Reviewed-by: Lasse Holmstedt
Diffstat (limited to 'src/opengl/qwindowsurface_gl.cpp')
0 files changed, 0 insertions, 0 deletions