[SCM] ktp-contact-list packaging branch, master, updated. debian/15.12.1-2-1070-g6c56f91

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:06:39 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=aae0d47

The following commit has been merged in the master branch:
commit aae0d47e9c071ff2a8772e40b1baf34d94ebb4cd
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date:   Mon Jun 6 21:43:08 2011 +0200

    Use the path and contentType constructor when creating properties for file transfer
    
    Reviewed by: Martin Klapetek
    REVIEW: 101566
---
 main-widget.cpp | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/main-widget.cpp b/main-widget.cpp
index a95c4dd..838edd7 100644
--- a/main-widget.cpp
+++ b/main-widget.cpp
@@ -566,15 +566,10 @@ void MainWidget::startFileTransferChannel(ContactModelItem *contactItem)
 
     kDebug() << "Filename:" << filename;
     kDebug() << "Content type:" << KMimeType::findByFileContent(filename)->name();
-    kDebug() << "Size:" << fileinfo.size();
-    kDebug() << "Last modified:" << fileinfo.lastModified();
+    // TODO Let the user set a description?
 
     Tp::FileTransferChannelCreationProperties fileTransferProperties(filename,
-                                                                     KMimeType::findByFileContent(filename)->name(),
-                                                                     fileinfo.size());
-    // TODO Add file hash? -- fileTransferProperties.setContentHash();
-    fileTransferProperties.setLastModificationTime(fileinfo.lastModified());
-    // TODO Let the user set a description? -- fileTransferProperties.setDescription();
+                                                                     KMimeType::findByFileContent(filename)->name());
 
     Tp::PendingChannelRequest* channelRequest = account->createFileTransfer(contact,
                                                                             fileTransferProperties,

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list