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


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

The following commit has been merged in the master branch:
commit 2918ef1b57b964a5fa8a73e4bbce39ee663d7bca
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Wed Jan 25 03:54:45 2012 +0000

    Fix crash when loading logs from group chats
    Reviewed by: Martin Klapetek
---
 lib/chat-widget.cpp | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/lib/chat-widget.cpp b/lib/chat-widget.cpp
index 9313c03..ce5cb29 100644
--- a/lib/chat-widget.cpp
+++ b/lib/chat-widget.cpp
@@ -187,9 +187,11 @@ ChatWidget::ChatWidget(const Tp::TextChannelPtr & channel, const Tp::AccountPtr
     connect(this, SIGNAL(searchTextComplete(bool)), d->ui.searchBar, SLOT(onSearchTextComplete(bool)));
 
     // initialize LogManager
-    d->logManager = new LogManager(account, channel->targetContact(), this);
-    d->logManager->setFetchAmount(3);
-    d->logManager->setTextChannel(channel);
+    if (!d->isGroupChat) {
+        d->logManager = new LogManager(account, channel->targetContact(), this);
+        d->logManager->setFetchAmount(3);
+        d->logManager->setTextChannel(channel);
+    }
 }
 
 ChatWidget::~ChatWidget()

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list