aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/corelib.qbs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-11-07 09:52:24 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2017-11-07 14:08:41 +0000
commit658fca829cc6d2e65d869315150e91a43847f5b3 (patch)
tree8b619bda9e15a065f19ea5ec843a7b023e1708ab /src/lib/corelib/corelib.qbs
parent66aa42314346a49b1219df125b730349e8051f05 (diff)
Un-observe properties on observer destruction
Engines typically outlive observers, so an engine should not keep pointers to observers that no longer exist. We should not rely on them getting overwritten with new ones. Change-Id: I7fc4b95671edb69047012a7da61a5d01707ca932 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/lib/corelib/corelib.qbs')
-rw-r--r--src/lib/corelib/corelib.qbs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/corelib/corelib.qbs b/src/lib/corelib/corelib.qbs
index 28e286f25..a62a1ab92 100644
--- a/src/lib/corelib/corelib.qbs
+++ b/src/lib/corelib/corelib.qbs
@@ -280,6 +280,7 @@ QbsLibrary {
"scriptengine.h",
"scriptimporter.cpp",
"scriptimporter.h",
+ "scriptpropertyobserver.cpp",
"scriptpropertyobserver.h",
"value.cpp",
"value.h",