[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:11 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-desktop-applets.git;a=commitdiff;h=b0f8fad
The following commit has been merged in the master branch:
commit b0f8fad613a6c75ea0b92d808edd1de188f99f09
Author: Aleix Pol <aleixpol at kde.org>
Date: Fri Feb 28 13:28:55 2014 +0100
Improve communication between the Messages and the UI
Use visibleToUser property change as a way to know whether we should be
showing the conversation or not.
Reviewed by David Edmundson
---
chat/org.kde.ktp-chat/contents/ui/ConversationDelegate.qml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/chat/org.kde.ktp-chat/contents/ui/ConversationDelegate.qml b/chat/org.kde.ktp-chat/contents/ui/ConversationDelegate.qml
index b08235c..58677ba 100644
--- a/chat/org.kde.ktp-chat/contents/ui/ConversationDelegate.qml
+++ b/chat/org.kde.ktp-chat/contents/ui/ConversationDelegate.qml
@@ -89,6 +89,15 @@ ConversationDelegateButton {
value: dialog.visible
}
+ Connections {
+ target: model.conversation.messages
+ onVisibleToUserChanged: {
+ if(!dialog.visible && model.conversation.messages.visibleToUser) {
+ openConversation();
+ }
+ }
+ }
+
overlay: Rectangle {
color: "red"
radius: 3
--
ktp-contact-applet packaging
More information about the pkg-kde-commits
mailing list