[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9

Maximiliano Curia maxy at moszumanska.debian.org
Mon May 9 09:05:25 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=b8dfdcc

The following commit has been merged in the master branch:
commit b8dfdcc3ef018d22b5d35e57ce1e213be81be184
Author: Lasath Fernando <kde at lasath.org>
Date:   Wed Jul 4 14:24:59 2012 +1000

    Make Message ignore trailing/leading whitespace
    
    I felt this was necessary, so that filters like Searchexpansion
    will stil work if there is a space at the start.
---
 KTp/message.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/KTp/message.cpp b/KTp/message.cpp
index d0e62b4..3f22a17 100644
--- a/KTp/message.cpp
+++ b/KTp/message.cpp
@@ -33,7 +33,7 @@ QString Message::mainMessagePart() const
 
 void Message::setMainMessagePart(const QString& message)
 {
-    m_mainPart = message;
+    m_mainPart = message.trimmed();
 }
 
 void Message::appendMessagePart(const QString& part)

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list