[SCM] ktp-filetransfer-handler packaging branch, master, updated. debian/15.12.1-2-226-g825cd93
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:11:17 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-filetransfer-handler.git;a=commitdiff;h=b6768ee
The following commit has been merged in the master branch:
commit b6768ee65848eb36fe4db2efcaa55db6725c4995
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date: Tue Jun 7 11:21:16 2011 +0200
Delay debug output in order to increment m_jobCount as soon as possible
---
src/filetransfer-handler.cpp | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/filetransfer-handler.cpp b/src/filetransfer-handler.cpp
index fd6badb..1c0b4b0 100644
--- a/src/filetransfer-handler.cpp
+++ b/src/filetransfer-handler.cpp
@@ -76,15 +76,14 @@ void FileTransferHandler::handleChannels(const Tp::MethodInvocationContextPtr<>
foreach(const Tp::ChannelPtr &channel, channels) {
kDebug() << "Handling new file transfer";
- QVariantMap properties = channel->immutableProperties();
- kDebug() << properties;
KJob* job = NULL;
if (Tp::IncomingFileTransferChannelPtr incomingFileTransferChannel = Tp::IncomingFileTransferChannelPtr::dynamicCast(channel)) {
m_jobCount.fetchAndAddOrdered(1);
context->setFinished();
- kDebug() << "Incoming File Transfer";
+ kDebug() << "Incoming File Transfer:";
+ kDebug() << channel->immutableProperties();
KSharedConfigPtr config = KSharedConfig::openConfig(QLatin1String("ktelepathyrc"));
KConfigGroup filetransferConfig = config->group(QLatin1String("File Transfers"));
@@ -103,6 +102,10 @@ void FileTransferHandler::handleChannels(const Tp::MethodInvocationContextPtr<>
}
m_jobCount.fetchAndAddOrdered(1);
context->setFinished();
+
+ kDebug() << "Outgoing File Transfer:";
+ kDebug() << channel->immutableProperties();
+
job = new HandleOutgoingFileTransferChannelJob(outgoingFileTransferChannel, this);
} else {
context->setFinishedWithError(QLatin1String(TELEPATHY_QT4_ERROR_INCONSISTENT),
--
ktp-filetransfer-handler packaging
More information about the pkg-kde-commits
mailing list