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


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

The following commit has been merged in the master branch:
commit 19c3ba60d24a4ca2d35a36e1fb62d6d3caabe00c
Author: Aleix Pol <aleixpol at kde.org>
Date:   Thu May 23 16:46:43 2013 +0200

    Use the contentHeight instead of the count property.
    
    The difference is that sometimes the view size would change when the
    section delegate is added and lose the positioning.
    
    I had tried contentHeight changes before, but it was before having the
    full conversation items in memory, so that will be a difference now.
    
    REVIEW: 110614
---
 chat/org.kde.ktp-chat/contents/ui/ChatWidget.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chat/org.kde.ktp-chat/contents/ui/ChatWidget.qml b/chat/org.kde.ktp-chat/contents/ui/ChatWidget.qml
index a159d6e..b7f7079 100644
--- a/chat/org.kde.ktp-chat/contents/ui/ChatWidget.qml
+++ b/chat/org.kde.ktp-chat/contents/ui/ChatWidget.qml
@@ -187,7 +187,7 @@ FocusScope {
         model: conv.messages
         onMovementEnded: followConversation = atYEnd //we only follow the conversation if moved to the end
 
-        onCountChanged: {
+        onContentHeightChanged: {
             if(followConversation && contentHeight>height) {
                 view.positionViewAtEnd()
             }

-- 
ktp-contact-applet packaging



More information about the pkg-kde-commits mailing list