[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:21:39 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=f683294

The following commit has been merged in the master branch:
commit f68329427b8144848fa8579cec3ba6248010a382
Author: Rohan Garg <rohangarg at kubuntu.org>
Date:   Thu Mar 22 19:47:46 2012 +0530

    Micro optimization, break as soon as a user who is typing is found
---
 lib/chat-widget.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/chat-widget.cpp b/lib/chat-widget.cpp
index 4da2d07..bb1f5ef 100644
--- a/lib/chat-widget.cpp
+++ b/lib/chat-widget.cpp
@@ -722,6 +722,7 @@ void ChatWidget::onChatStatusChanged(const Tp::ContactPtr & contact, Tp::Channel
 
             if (tempState == Tp::ChannelChatStateComposing) {
                 state = tempState;
+                break;
             } else if (tempState == Tp::ChannelChatStatePaused && state != Tp::ChannelChatStateComposing) {
                 state = tempState;
             }

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list