Message info
 
To:kde-commits@kde.org From:Daniele E. Domenichelli Subject:[ktp-accounts-kcm] src: Add comment Date:Fri, 30 Mar 2012 17:58:08 +0200 (CEST)
 

Git commit 7869c988997fdca1e9cbc42a239f3e68b57bdf43 by Daniele E. Domenichelli.
Committed on 30/03/2012 at 16:58.
Pushed by ddomenichelli into branch 'master'.

Add comment

M +3 -0 src/accounts-list-delegate.cpp

http://commits.kde.org/telepathy-accounts-kcm/7869c988997fdca1e9cbc42a239f3e68b57bdf43

diff --git a/src/accounts-list-delegate.cpp b/src/accounts-list-delegate.cpp
index dcb43dc..53bdaaa 100644
--- a/src/accounts-list-delegate.cpp
+++ b/src/accounts-list-delegate.cpp
@@ -61,6 +61,9 @@ QSize AccountsListDelegate::sizeHint(const QStyleOptionViewItem &option, const Q

QList<QWidget*> AccountsListDelegate::createItemWidgets() const
{
+ // Items created by this method and added to the list returned will be
+ // deleted by KWidgetItemDelegate
+
QCheckBox *checkbox = new QCheckBox();
connect(checkbox, SIGNAL(clicked(bool)), SLOT(onCheckBoxToggled(bool)));