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


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

The following commit has been merged in the master branch:
commit 2dd0b2d3c6fd1233e2105bd42dee98069c0bdbea
Author: Florian Reinhard <florian.reinhard at googlemail.com>
Date:   Fri Mar 18 12:30:02 2011 +0100

    Don't detect typing when we can't use it.
    
    Reviewed-by: David Edmundson <kde at davidedmundson.co.uk>
    REVIEW: 100886
---
 lib/chat-widget.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/chat-widget.cpp b/lib/chat-widget.cpp
index 6ea639b..148deb3 100644
--- a/lib/chat-widget.cpp
+++ b/lib/chat-widget.cpp
@@ -211,7 +211,9 @@ ChatWidget::ChatWidget(const Tp::TextChannelPtr & channel, QWidget *parent)
     connect(d->channel.data(), SIGNAL(chatStateChanged(Tp::ContactPtr,Tp::ChannelChatState)),
             SLOT(onChatStatusChanged(Tp::ContactPtr,Tp::ChannelChatState)));
 
-    connect(d->ui.sendMessageBox, SIGNAL(textChanged()), SLOT(onInputBoxChanged()));
+    if (d->channel->hasChatStateInterface()) {
+        connect(d->ui.sendMessageBox, SIGNAL(textChanged()), SLOT(onInputBoxChanged()));
+    }
 
     // make the sendMessageBox a focus proxy for the chatview
     d->ui.chatArea->setFocusProxy(d->ui.sendMessageBox);

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list