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


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

The following commit has been merged in the master branch:
commit da4e04bb2201a89c88b7ca213fd68d4839f99211
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date:   Mon Apr 2 15:10:10 2012 +0200

    Fix missing '\' character in history messages
---
 lib/logmanager.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/logmanager.cpp b/lib/logmanager.cpp
index 8075664..c0cdb0f 100644
--- a/lib/logmanager.cpp
+++ b/lib/logmanager.cpp
@@ -182,7 +182,10 @@ void LogManager::onEventsFinished(Tpl::PendingOperation *po)
         iconPath = contact->avatarData().fileName;
 
         AdiumThemeContentInfo message(type);
-        message.setMessage(event->message());
+        // "\" characters are replaced with "\" to match with normal messages
+        // FIXME we should remove this when the history messages are filtered
+        //       through the message processor
+        message.setMessage(event->message().replace(QLatin1Char('\'), QLatin1String("\\")));
         message.setService(m_account->serviceName());
         message.setSenderDisplayName(event->sender()->alias());
         message.setSenderScreenName(event->sender()->alias());

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list