[SCM] ktp-accounts-kcm packaging branch, master, updated. debian/15.12.1-1-1157-gc4589c5
Maximiliano Curia
maxy at moszumanska.debian.org
Fri May 27 23:58:53 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=67eb142
The following commit has been merged in the master branch:
commit 67eb1423f1faa4f10ae62b3871a95219d8b4b20a
Author: David Edmundson <kde at davidedmundson.co.uk>
Date: Fri Jan 14 21:26:19 2011 +0000
Added review comments, and reverted an unnecessary change.
---
src/accounts-list-model.cpp | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/accounts-list-model.cpp b/src/accounts-list-model.cpp
index 165a329..4db4f5a 100644
--- a/src/accounts-list-model.cpp
+++ b/src/accounts-list-model.cpp
@@ -100,10 +100,8 @@ bool AccountsListModel::setData(const QModelIndex &index, const QVariant &value,
{
kDebug();
if(role == Qt::CheckStateRole) {
- if(m_accounts.at(index.row())->account()) {
- m_accounts.at(index.row())->account()->setEnabled(value.toInt() == Qt::Checked);
- return true;
- }
+ m_accounts.at(index.row())->account()->setEnabled(value.toInt() == Qt::Checked);
+ return true;
}
return false;
}
--
ktp-accounts-kcm packaging
More information about the pkg-kde-commits
mailing list