[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:18:49 UTC 2016


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

The following commit has been merged in the master branch:
commit 44976a62fa79a4b5739fadf93d774367ee3fb20b
Author: Aleix Pol <aleixpol at kde.org>
Date:   Wed Apr 10 18:50:47 2013 +0200

    Close the chat widget when the connection is invalidated
    
    Otherwise it is removed but the currentIndex is not updated
    
    Reviewed by David Edmundson
---
 chat/org.kde.ktp-chat/contents/ui/ChatWidget.qml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/chat/org.kde.ktp-chat/contents/ui/ChatWidget.qml b/chat/org.kde.ktp-chat/contents/ui/ChatWidget.qml
index 10e7d43..3004949 100644
--- a/chat/org.kde.ktp-chat/contents/ui/ChatWidget.qml
+++ b/chat/org.kde.ktp-chat/contents/ui/ChatWidget.qml
@@ -31,6 +31,10 @@ FocusScope {
     signal closeRequested
 
     onFocusChanged: input.focus = true
+    Connections {
+        target: chatWidget.conv
+        onValidChanged: chatWidget.closeRequested()
+    }
 
     Item {
         id: titleArea

-- 
ktp-contact-applet packaging



More information about the pkg-kde-commits mailing list