Set the contact detail parent to avoid memory leak.
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>
Tue, 4 Feb 2014 18:27:34 +0000 (15:27 -0300)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 5 Feb 2014 04:32:19 +0000 (05:32 +0100)
commitcdbe3d4a34f728caaac15eccc9fdca3195b60b3a
treea40fd847b746d2b856104c409883b974fd01d1c6
parente0c5eebe350ecf0505a18aa2e49ac0331d23045d
Set the contact detail parent to avoid memory leak.

Change-Id: I4eed6039c398d537254441e4e5873838a7866c6c
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Gustavo Pichorim Boiko <gustavo.boiko@canonical.com>
Reviewed-by: Michael Krasnyk <michael.krasnyk@gmail.com>
Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
src/imports/contacts/qdeclarativecontact.cpp