From kde-commits Sun Jun 30 20:09:16 2013 From: Sergio Martins Date: Sun, 30 Jun 2013 20:09:16 +0000 To: kde-commits Subject: [kdepim] calendarsupport: Don't leak AttachmentHandler. Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=137262296630834 Git commit cd6cb8b9653e81d59f4c3e877e154ca9f932c2e1 by Sergio Martins. Committed on 30/06/2013 at 20:02. Pushed by smartins into branch 'master'. Don't leak AttachmentHandler. M +1 -1 calendarsupport/attachmenthandler.cpp http://commits.kde.org/kdepim/cd6cb8b9653e81d59f4c3e877e154ca9f932c2e1 diff --git a/calendarsupport/attachmenthandler.cpp b/calendarsupport/attach= menthandler.cpp index cd31b93..38a31b2 100644 --- a/calendarsupport/attachmenthandler.cpp +++ b/calendarsupport/attachmenthandler.cpp @@ -63,7 +63,7 @@ class AttachmentHandler::Private QPointer mParent; }; = -AttachmentHandler::AttachmentHandler( QWidget *parent ) : d( new Private( = parent ) ) +AttachmentHandler::AttachmentHandler( QWidget *parent ) : QObject( parent = ), d( new Private( parent ) ) { = }