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


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

The following commit has been merged in the master branch:
commit 54871864b456eba9b7a09ee6f39f8f0a09806cf6
Author: Lasath Fernando <kde at lasath.org>
Date:   Sat Jun 23 11:45:58 2012 +1000

    Fix potential bug in hack
    
    The remove isn't in a Q_ASSERT, so now the EscapeFilter won't end
    up in the queue twice if asserts are disabled.
---
 KTp/message-processor.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/KTp/message-processor.cpp b/KTp/message-processor.cpp
index 97171ac..2a8770f 100644
--- a/KTp/message-processor.cpp
+++ b/KTp/message-processor.cpp
@@ -54,7 +54,7 @@ MessageProcessor::MessageProcessor()
     //FIXME: Massive hack to not escape URLs.
     Q_FOREACH (AbstractMessageFilter *filter, m_filters) {
         if (QLatin1String(filter->metaObject()->className()) == QLatin1String("EscapeFilter")) {
-            Q_ASSERT(m_filters.removeOne(filter));
+            m_filters.removeOne(filter);
             m_filters.prepend(filter);
             break;
         }

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list