D7194: Detach before setting the d pointer

Aleix Pol Gonzalez noreply at phabricator.kde.org
Wed Oct 25 18:00:27 UTC 2017


apol added a comment.


  In https://phabricator.kde.org/D7194#159878, @kossebau wrote:
  
  > @apol Was this patch created due to some bug seen, or perhaps only of the kind oh-that-seems-wrong-lets-be-nice-and-prevent-things? If the latter that might be handy :)
  
  
  I had some issue where I started  to see objects changing what they reported over time in Discover. I don't remember what the exact issue was at the moment (It's from early August...).
  
  I don't think it makes a lot of sense to have objects changing values that can't report which values changed, hence adding the detach API.

REPOSITORY
  R304 KNewStuff

REVISION DETAIL
  https://phabricator.kde.org/D7194

To: apol, leinir
Cc: sitter, kossebau, whiting, mutlaqja, broulik, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171025/74bda86f/attachment.html>


More information about the Kde-frameworks-devel mailing list