[SCM] ktp-contact-list packaging branch, master, updated. debian/15.12.1-2-1070-g6c56f91
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:12:42 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=29c0be5
The following commit has been merged in the master branch:
commit 29c0be5e94dd305abbfaaecb34c228bafc4b85e1
Author: Daniele E. Domenichelli <ddomenichelli at kde.org>
Date: Sun Mar 3 22:56:06 2013 +0100
Delete default delegate before assigning the new one
Using gammaray it shows that it is there all the time and it is a waste
of memory.
Reviewed-by: David Edmundson <kde at davidedmundson.co.uk>
---
contact-list-widget.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/contact-list-widget.cpp b/contact-list-widget.cpp
index 1343ef0..44dcbbe 100644
--- a/contact-list-widget.cpp
+++ b/contact-list-widget.cpp
@@ -99,6 +99,7 @@ ContactListWidget::ContactListWidget(QWidget *parent)
QString delegateMode = guiConfigGroup.readEntry("selected_delegate", "normal");
+ itemDelegate()->deleteLater();
if (delegateMode == QLatin1String("full")) {
setItemDelegate(d->delegate);
} else if (delegateMode == QLatin1String("mini")) {
--
ktp-contact-list packaging
More information about the pkg-kde-commits
mailing list