[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=ce79f32

The following commit has been merged in the master branch:
commit ce79f3241d0171c6b4e8e62996cd70388885c300
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date:   Wed Dec 28 09:39:11 2011 +0100

    Use Q_FOREACH instead of foreach
---
 KTp/Models/accounts-list-model.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/KTp/Models/accounts-list-model.cpp b/KTp/Models/accounts-list-model.cpp
index 3008c89..0a9559d 100644
--- a/KTp/Models/accounts-list-model.cpp
+++ b/KTp/Models/accounts-list-model.cpp
@@ -161,7 +161,7 @@ void AccountsListModel::addAccount(const Tp::AccountPtr &account)
     bool found = false;
 
     if (!found) {
-        foreach (const AccountItem* ai, m_accounts) {
+        Q_FOREACH (const AccountItem* ai, m_accounts) {
             if (ai->account() == account) {
                 found = true;
                 break;

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list