{"action":"created","issue":{"url":"https://api.github.com/repos/neuronalmotion/blueprint/issues/68","labels_url":"https://api.github.com/repos/neuronalmotion/blueprint/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/neuronalmotion/blueprint/issues/68/comments","events_url":"https://api.github.com/repos/neuronalmotion/blueprint/issues/68/events","html_url":"https://github.com/neuronalmotion/blueprint/issues/68","id":102707604,"number":68,"title":"Fix double delete on TreeItems","user":{"login":"synapticvoid","id":3283773,"avatar_url":"https://avatars.githubusercontent.com/u/3283773?v=3","gravatar_id":"","url":"https://api.github.com/users/synapticvoid","html_url":"https://github.com/synapticvoid","followers_url":"https://api.github.com/users/synapticvoid/followers","following_url":"https://api.github.com/users/synapticvoid/following{/other_user}","gists_url":"https://api.github.com/users/synapticvoid/gists{/gist_id}","starred_url":"https://api.github.com/users/synapticvoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synapticvoid/subscriptions","organizations_url":"https://api.github.com/users/synapticvoid/orgs","repos_url":"https://api.github.com/users/synapticvoid/repos","events_url":"https://api.github.com/users/synapticvoid/events{/privacy}","received_events_url":"https://api.github.com/users/synapticvoid/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neuronalmotion/blueprint/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"synapticvoid","id":3283773,"avatar_url":"https://avatars.githubusercontent.com/u/3283773?v=3","gravatar_id":"","url":"https://api.github.com/users/synapticvoid","html_url":"https://github.com/synapticvoid","followers_url":"https://api.github.com/users/synapticvoid/followers","following_url":"https://api.github.com/users/synapticvoid/following{/other_user}","gists_url":"https://api.github.com/users/synapticvoid/gists{/gist_id}","starred_url":"https://api.github.com/users/synapticvoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synapticvoid/subscriptions","organizations_url":"https://api.github.com/users/synapticvoid/orgs","repos_url":"https://api.github.com/users/synapticvoid/repos","events_url":"https://api.github.com/users/synapticvoid/events{/privacy}","received_events_url":"https://api.github.com/users/synapticvoid/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/neuronalmotion/blueprint/milestones/5","html_url":"https://github.com/neuronalmotion/blueprint/milestones/v0.4","labels_url":"https://api.github.com/repos/neuronalmotion/blueprint/milestones/5/labels","id":1256341,"number":5,"title":"v0.4","description":"","creator":{"login":"synapticvoid","id":3283773,"avatar_url":"https://avatars.githubusercontent.com/u/3283773?v=3","gravatar_id":"","url":"https://api.github.com/users/synapticvoid","html_url":"https://github.com/synapticvoid","followers_url":"https://api.github.com/users/synapticvoid/followers","following_url":"https://api.github.com/users/synapticvoid/following{/other_user}","gists_url":"https://api.github.com/users/synapticvoid/gists{/gist_id}","starred_url":"https://api.github.com/users/synapticvoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synapticvoid/subscriptions","organizations_url":"https://api.github.com/users/synapticvoid/orgs","repos_url":"https://api.github.com/users/synapticvoid/repos","events_url":"https://api.github.com/users/synapticvoid/events{/privacy}","received_events_url":"https://api.github.com/users/synapticvoid/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":6,"state":"open","created_at":"2015-08-15T14:17:02Z","updated_at":"2015-08-24T05:03:04Z","due_on":"2015-08-29T22:00:00Z","closed_at":null},"comments":1,"created_at":"2015-08-24T05:03:04Z","updated_at":"2015-08-24T06:17:02Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/neuronalmotion/blueprint/issues/comments/134052224","html_url":"https://github.com/neuronalmotion/blueprint/issues/68#issuecomment-134052224","issue_url":"https://api.github.com/repos/neuronalmotion/blueprint/issues/68","id":134052224,"user":{"login":"synapticvoid","id":3283773,"avatar_url":"https://avatars.githubusercontent.com/u/3283773?v=3","gravatar_id":"","url":"https://api.github.com/users/synapticvoid","html_url":"https://github.com/synapticvoid","followers_url":"https://api.github.com/users/synapticvoid/followers","following_url":"https://api.github.com/users/synapticvoid/following{/other_user}","gists_url":"https://api.github.com/users/synapticvoid/gists{/gist_id}","starred_url":"https://api.github.com/users/synapticvoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synapticvoid/subscriptions","organizations_url":"https://api.github.com/users/synapticvoid/orgs","repos_url":"https://api.github.com/users/synapticvoid/repos","events_url":"https://api.github.com/users/synapticvoid/events{/privacy}","received_events_url":"https://api.github.com/users/synapticvoid/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T06:17:02Z","updated_at":"2015-08-24T06:17:02Z","body":"Because `TreeItem` hiearchy was partly derived from `QGraphicsItem` (Starting from `Shape`), Children of `Canvas` would be deleted before `TreeItem` destructor of had a chance to be called. This stems from the fact that Qt parenting was taking care of object deletion in our `QGraphicsScene`.\r\n\r\nThe fix was to remove all items from `QGraphicsScene` and manage the whole deletion ourselves. I checked all our items, everything should be properly deleted."}}