[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:45 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=aaa86f9
The following commit has been merged in the master branch:
commit aaa86f95c42dffea6c1ab6285901a0d009440be7
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date: Thu Dec 29 12:32:22 2011 +0100
Remove some useless kDebug()
---
KTp/Models/accounts-list-model.cpp | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/KTp/Models/accounts-list-model.cpp b/KTp/Models/accounts-list-model.cpp
index c9691df..3008c89 100644
--- a/KTp/Models/accounts-list-model.cpp
+++ b/KTp/Models/accounts-list-model.cpp
@@ -31,12 +31,10 @@
AccountsListModel::AccountsListModel(QObject *parent)
: QAbstractListModel(parent)
{
- kDebug();
}
AccountsListModel::~AccountsListModel()
{
- kDebug();
}
int AccountsListModel::rowCount(const QModelIndex & parent) const
@@ -124,7 +122,6 @@ bool AccountsListModel::setData(const QModelIndex &index, const QVariant &value,
if(!index.isValid()) {
return false;
}
- kDebug();
if(role == Qt::CheckStateRole) {
//this is index from QSortFilterProxyModel
index.data(AccountItemRole).value<AccountItem*>()->account()->setEnabled(value.toInt() == Qt::Checked);
@@ -193,8 +190,6 @@ void AccountsListModel::addAccount(const Tp::AccountPtr &account)
void AccountsListModel::removeAccount(const QModelIndex &index)
{
- kDebug();
-
if(!index.isValid()) {
kDebug() << "Can't remove Account: Invalid index";
return;
@@ -208,8 +203,6 @@ void AccountsListModel::removeAccount(const QModelIndex &index)
AccountItem* AccountsListModel::itemForIndex(const QModelIndex &index)
{
- kDebug();
-
if(!index.isValid()) {
kWarning() << "Invalid index" << index;
return 0;
@@ -221,8 +214,6 @@ AccountItem* AccountsListModel::itemForIndex(const QModelIndex &index)
void AccountsListModel::onAccountItemRemoved()
{
- kDebug();
-
AccountItem *item = qobject_cast<AccountItem*>(sender());
Q_ASSERT(item);
@@ -244,8 +235,6 @@ void AccountsListModel::onAccountItemRemoved()
void AccountsListModel::onAccountItemUpdated()
{
- kDebug();
-
AccountItem *item = qobject_cast<AccountItem*>(sender());
Q_ASSERT(item);
@@ -260,8 +249,6 @@ void AccountsListModel::onAccountItemUpdated()
void AccountsListModel::onTitleForCustomPages(QString mandatoryPage, QList<QString> optionalPage)
{
- kDebug();
-
emit setTitleForCustomPages(mandatoryPage, optionalPage);
}
--
ktp-common-internals packaging
More information about the pkg-kde-commits
mailing list