[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9

Maximiliano Curia maxy at moszumanska.debian.org
Mon May 9 09:05:02 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=8e0f422

The following commit has been merged in the master branch:
commit 8e0f422121f790aafdb53de977a4859a64e3d5fe
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Mon Feb 13 09:03:52 2012 +0000

    Fix memory leak in plasmoid
---
 KTp/Declarative/conversations-model.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/KTp/Declarative/conversations-model.cpp b/KTp/Declarative/conversations-model.cpp
index 74745f4..9424f0f 100644
--- a/KTp/Declarative/conversations-model.cpp
+++ b/KTp/Declarative/conversations-model.cpp
@@ -126,7 +126,7 @@ void ConversationsModel::handleChannels(const Tp::MethodInvocationContextPtr<> &
 
     if (!handled && !shouldDelegate) {
         beginInsertRows(QModelIndex(), rowCount(), rowCount());
-        Conversation* newConvo = new Conversation(textChannel, account);
+        Conversation* newConvo = new Conversation(textChannel, account, this);
         d->conversations.append(newConvo);
         connect(newConvo, SIGNAL(validityChanged(bool)), SLOT(handleValidityChange(bool)));
         endInsertRows();

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list