[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:15 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=c135e6b
The following commit has been merged in the master branch:
commit c135e6bdf63fe65b90994ae934ac5d9f0635c843
Author: Dominik Schmidt <dev at dominik-schmidt.de>
Date: Wed Oct 5 02:15:26 2011 +0200
Fetch logs when the chat view is ready
---
lib/chat-widget.cpp | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/chat-widget.cpp b/lib/chat-widget.cpp
index c652016..c39e211 100644
--- a/lib/chat-widget.cpp
+++ b/lib/chat-widget.cpp
@@ -238,9 +238,6 @@ ChatWidget::ChatWidget(const Tp::TextChannelPtr & channel, const Tp::AccountPtr
d->logManager = new LogManager(account, channel->targetContact());
d->logManager->setFetchAmount(3);
d->logManager->setTextChannel(channel);
-
- connect(d->logManager, SIGNAL(fetched(QList<AdiumThemeContentInfo>)), SLOT(onHistoryFetched(QList<AdiumThemeContentInfo>)));
- d->logManager->fetchLast();
}
ChatWidget::~ChatWidget()
@@ -702,6 +699,8 @@ void ChatWidget::handleMessageSent(const Tp::Message &message, Tp::MessageSendin
void ChatWidget::chatViewReady()
{
+ connect(d->logManager, SIGNAL(fetched(QList<AdiumThemeContentInfo>)), SLOT(onHistoryFetched(QList<AdiumThemeContentInfo>)));
+ d->logManager->fetchLast();
}
--
ktp-text-ui packaging
More information about the pkg-kde-commits
mailing list