Ableton / aqt-stylesheets

Apply CSS style sheets to QML applications
Other
215 stars 39 forks source link

Let's StyleSetPropsRef track their StyleSetProps by weak ptr #40

Closed gck-ableton closed 8 years ago

gck-ableton commented 8 years ago

There are use cases where StyleSets might live longer than the QML Engine which created them (e.g. with deferred delete events). In that case destroying them must be access the StyleSetProps already destroyed by the engine of course.

@mli-ableton

ala-ableton commented 8 years ago

@gck-ableton: "destroying them must be access the StyleSetProps" doesn't sound English to me, but then I am not a native speaker...

gck-ableton commented 8 years ago

"... must not access the ..." is what I wanted to say, I guess.