[Interest] Setting the value in a delegate from a timer

Luca Carlon carlon.luca at gmail.com
Sun May 21 00:32:44 CEST 2017


Hello! I extracted this little sample code not behaving like I would expect
in recent Qt versions: https://pastebin.com/TdCf3Kr2. Is this code "legal"?
What I see is that it behaves properly in Qt 5.5 but not in Qt 5.8.0 for
instance. I built 5.8.0 from git on Linux and I see it immediately seems to
leak considerable amount of memory. Can someone else reproduce this? Is the
code wrong? Should I change the value in the delegate from the timer some
other way maybe?
Thank you for any hint.

Luca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170521/aef08701/attachment.html>


More information about the Interest mailing list