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


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

The following commit has been merged in the master branch:
commit 8586347e2e6f8cdd65fc0a8b2b004af65e007458
Author: Francesco Nwokeka <francesco.nwokeka at gmail.com>
Date:   Tue Apr 5 00:58:34 2011 +0200

    FIX: Strip down HTML when copying from chat view
    
    BUG: 269996
    REVIEW: David Edmundson
    
    set the "setAcceptRichText" to false so we don't accept anything unwanted apart from normal text
---
 lib/chat-text-edit.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/chat-text-edit.cpp b/lib/chat-text-edit.cpp
index 525f877..4c3a4c0 100644
--- a/lib/chat-text-edit.cpp
+++ b/lib/chat-text-edit.cpp
@@ -34,6 +34,9 @@ ChatTextEdit::ChatTextEdit(QWidget *parent) :
     enableFindReplace(false);
     setMinimumHeight(0);
 
+    // set to false so it doesn't paste anything unwanted apart from normal text
+    setAcceptRichText(false);
+
     connect(this, SIGNAL(textChanged()), SLOT(recalculateSize()));
 }
 

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list