summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2005-02-04 13:55:18 (UTC)
committer mickeyl <mickeyl>2005-02-04 13:55:18 (UTC)
commit43213784ac3b6057f8c83f22604d75d0557e8c5a (patch) (unidiff)
treeafde8194a2f5a292a163f8dc149c8538e3608649
parentb1dab0b57e8d9766a2da7e8cc8792fb434182410 (diff)
downloadopie-43213784ac3b6057f8c83f22604d75d0557e8c5a.zip
opie-43213784ac3b6057f8c83f22604d75d0557e8c5a.tar.gz
opie-43213784ac3b6057f8c83f22604d75d0557e8c5a.tar.bz2
make it compile
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/dcctransfer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/opieirc/dcctransfer.cpp b/noncore/net/opieirc/dcctransfer.cpp
index cfa9f74..e97d191 100644
--- a/noncore/net/opieirc/dcctransfer.cpp
+++ b/noncore/net/opieirc/dcctransfer.cpp
@@ -20,22 +20,22 @@ DCCTransfer::~DCCTransfer()
20 delete m_file; 20 delete m_file;
21 } 21 }
22 if(m_buffer) 22 if(m_buffer)
23 delete []m_buffer; 23 delete []m_buffer;
24} 24}
25 25
26 26
27void DCCTransfer::cancel() 27void DCCTransfer::cancel()
28{ 28{
29 if(m_socket) 29 if(m_socket)
30 m_socket->close(); 30 m_socket->close();
31 31
32 emit(finished(DCCTransfer::SelfAborted)); 32 emit(finished(this, DCCTransfer::SelfAborted));
33} 33}
34 34
35QString DCCTransfer::filename() 35QString DCCTransfer::filename()
36{ 36{
37 if(!m_file) 37 if(!m_file)
38 return QString::null; 38 return QString::null;
39 39
40 return m_file->name().mid(m_file->name().findRev('/') + 1); 40 return m_file->name().mid(m_file->name().findRev('/') + 1);
41} 41}