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


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

The following commit has been merged in the master branch:
commit 99d06d80a0725ff6718fa6143f9943b31106304b
Author: Martin Klapetek <mklapetek at kde.org>
Date:   Thu Feb 26 17:48:45 2015 +0100

    Don't set the OTR state as changed if it actually hasn't changed
    
    Fixes the bug of "unread message" color tab on channel reconnect
    
    BUG: 341212
---
 lib/chat-widget.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/chat-widget.cpp b/lib/chat-widget.cpp
index bac4c6d..c2e4234 100644
--- a/lib/chat-widget.cpp
+++ b/lib/chat-widget.cpp
@@ -753,6 +753,10 @@ void ChatWidget::onOTRTrustLevelChanged(KTp::OTRTrustLevel trustLevel, KTp::OTRT
 {
     qCDebug(KTP_TEXTUI_LIB);
 
+    if (trustLevel == previous) {
+        return;
+    }
+
     d->hasNewOTRstatus = true;
     switch(trustLevel) {
         case KTp::OTRTrustLevelUnverified:

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list