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


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

The following commit has been merged in the master branch:
commit 166ceeb8f55517424da8a2c77922daf861d947ea
Author: Aleix Pol <aleixpol at kde.org>
Date:   Fri Feb 13 19:25:07 2015 +0100

    Fix warning
    
    Don't let contentHeight be negative
---
 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 eb20fd2..4e802c7 100644
--- a/chat/org.kde.ktp-chat/contents/ui/ChatWidget.qml
+++ b/chat/org.kde.ktp-chat/contents/ui/ChatWidget.qml
@@ -105,7 +105,7 @@ FocusScope {
 
         //we need this so that scrolling down to the last element works properly
         //this means that all the list is in memory
-        cacheBuffer: contentHeight
+        cacheBuffer: Math.max(0, contentHeight)
 
         delegate: Loader {
             Component.onCompleted: {

-- 
ktp-contact-applet packaging



More information about the pkg-kde-commits mailing list