[Kde-hardware-devel] kbluetooth file transfer problems
    Ozan Çağlayan 
    ozan at pardus.org.tr
       
    Mon Oct 12 10:08:03 CEST 2009
    
    
  
Hi,
With the current kbluetooth, subsequent attempts to send a file from the
computer to a cellular device fails after the first transfer. We had
fixed this in an e-mail transaction between a guy I really don't
remember with the following patch. I thought that he committed it but it
seems that it got forgotten:
Index: kbluetooth4-0.3_20090504/src/obexsession/obexsessionfiletransfer.cpp
===================================================================
--- kbluetooth4-0.3_20090504.orig/src/obexsession/obexsessionfiletransfer.cpp
+++ kbluetooth4-0.3_20090504/src/obexsession/obexsessionfiletransfer.cpp
@@ -64,5 +64,7 @@ void ObexSessionFileTransfer::slotTransf
 void ObexSessionFileTransfer::slotTransferCompleted() {
 	kDebug() << "Transfer completed";
 	setProcessedAmount(Bytes, m_totalFileSize);
+    m_dbusSession->call("Disconnect");
+    m_dbusSession->call("Close");
 	emitResult();
 }
    
    
More information about the Kde-hardware-devel
mailing list