[SCM] ktp-contact-list packaging branch, master, updated. debian/15.12.1-2-1070-g6c56f91

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:15:12 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=9705cb2

The following commit has been merged in the master branch:
commit 9705cb2cfd9dd407a373fa81950ad3a2b6a8085c
Author: Aleix Pol <aleixpol at kde.org>
Date:   Thu Mar 5 13:17:55 2015 +0100

    Don't store a temporary value in a const-reference
    
    No win, error-prone.
---
 context-menu.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/context-menu.cpp b/context-menu.cpp
index 2870aad..58e3d97 100644
--- a/context-menu.cpp
+++ b/context-menu.cpp
@@ -351,7 +351,7 @@ void ContextMenu::onShowInfoTriggered()
 
     if (KTp::kpeopleEnabled()) {
     #ifdef HAVE_KPEOPLE
-        const QString &personId = m_currentIndex.data(KTp::PersonIdRole).toString();
+        QString personId = m_currentIndex.data(KTp::PersonIdRole).toString();
         if (!personId.isEmpty()) {
             KPeople::PersonDetailsDialog *view = new KPeople::PersonDetailsDialog(m_mainWidget);
             KPeople::PersonData *person = new KPeople::PersonData(personId, view);

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list