[SCM] ktp-contact-applet packaging branch, master, updated. debian/15.12.1-1-966-gde83ac5

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:19:05 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-desktop-applets.git;a=commitdiff;h=026f314

The following commit has been merged in the master branch:
commit 026f3145dbbb7e73beaa7e538521e8a6e859b4fa
Author: Aleix Pol <aleixpol at kde.org>
Date:   Mon Jun 17 23:56:53 2013 +0200

    Small code cleanup
    
    Connect properties directly, no need for a Binding object to connect the
    filter text field to the proxy.
    
    Reviewed by David Edmundson, as part of the review 111077
---
 .../org.kde.ktp-contactlist/contents/ui/ContactList.qml   | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml b/contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml
index 8f82f75..7829899 100644
--- a/contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml
+++ b/contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml
@@ -44,13 +44,7 @@ Item {
         Keys.onUpPressed: contactsList.decrementCurrentIndex();
         Keys.onReturnPressed: contactsList.currentItem.clicked();
 
-        onActiveFocusChanged: filterLineEdit.selectAll()
-
-        Binding {
-            target: contactsModel
-            property: "globalFilterString"
-            value: filterLineEdit.text
-        }
+        onActiveFocusChanged: filterLineEdit.selectAll();
     }
 
     PlasmaExtras.ScrollArea {
@@ -67,9 +61,10 @@ Item {
             clip: true
             model: KTp.ContactsModel {
                 id: contactsModel
-                accountManager: telepathyManager.accountManager;
-                presenceTypeFilterFlags: KTp.ContactsModel.HideAllOffline;
-                sortRoleString: sortRoleString = "presenceType";
+                accountManager: telepathyManager.accountManager
+                presenceTypeFilterFlags: KTp.ContactsModel.HideAllOffline
+                globalFilterString: filterLineEdit.text
+                sortRoleString: "presenceType"
             }
 
 

-- 
ktp-contact-applet packaging



More information about the pkg-kde-commits mailing list