[SCM] ktp-contact-runner packaging branch, master, updated. debian/15.12.1-2-244-g38a1f58

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 17:50:24 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-runner.git;a=commitdiff;h=811dae8

The following commit has been merged in the master branch:
commit 811dae881b370702abff0d8b21593a6a622ce111
Author: Dan Vrátil <dan at progdan.cz>
Date:   Sun Mar 11 21:28:27 2012 +0100

    Some code cleanup
---
 contactrunner.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/contactrunner.cpp b/contactrunner.cpp
index 5e1efc2..65d6742 100644
--- a/contactrunner.cpp
+++ b/contactrunner.cpp
@@ -193,14 +193,14 @@ void ContactRunner::match(Plasma::RunnerContext& context)
 
         for (int j = 0; (j < contactsCount) && context.isValid(); j++) {
 
+            Plasma::QueryMatch match(this);
+
             QModelIndex contactIndex = m_proxyModel->index(j, 0, accountIndex);
 
             QString name = contactIndex.data(AccountsModel::AliasRole).toString();
 
-            Plasma::QueryMatch match(this);
-
             match.setText(name.append(" (%1)").arg(accountIndex.data(AccountsModel::DisplayNameRole).toString()));
-            match.setId(accountIndex.data(AccountsModel::IdRole).toString() + "," + 
+            match.setId(accountIndex.data(AccountsModel::IdRole).toString() + "," +
                         contactIndex.data(AccountsModel::IdRole).toString());
             match.setType(Plasma::QueryMatch::ExactMatch);
 

-- 
ktp-contact-runner packaging



More information about the pkg-kde-commits mailing list