[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:43 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=f0cbeb0
The following commit has been merged in the master branch:
commit f0cbeb0f77ea7fd8715cfe1d68cbdb5e4f68522a
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.
---
KTp/Models/accounts-list-model.cpp | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/KTp/Models/accounts-list-model.cpp b/KTp/Models/accounts-list-model.cpp
index 165a329..4db4f5a 100644
--- a/KTp/Models/accounts-list-model.cpp
+++ b/KTp/Models/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-common-internals packaging
More information about the pkg-kde-commits
mailing list