Diffstat (limited to 'noncore/apps/opie-console/filetransfer.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/filetransfer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/filetransfer.cpp b/noncore/apps/opie-console/filetransfer.cpp index b39dc95..8e86ebb 100644 --- a/noncore/apps/opie-console/filetransfer.cpp +++ b/noncore/apps/opie-console/filetransfer.cpp | |||
@@ -191,6 +191,8 @@ void FileTransfer::slotRead() { | |||
191 | * find the progress | 191 | * find the progress |
192 | */ | 192 | */ |
193 | void FileTransfer::slotProgress( const QStringList& list ) { | 193 | void FileTransfer::slotProgress( const QStringList& list ) { |
194 | if ( m_type != SZ ) | ||
195 | return; | ||
194 | bool complete = true; | 196 | bool complete = true; |
195 | int min, sec; | 197 | int min, sec; |
196 | int bps; | 198 | int bps; |
@@ -242,6 +244,7 @@ void FileTransfer::slotExec() { | |||
242 | ::read(m_term[0], buf, 1 ); | 244 | ::read(m_term[0], buf, 1 ); |
243 | delete m_proc; | 245 | delete m_proc; |
244 | delete m_not; | 246 | delete m_not; |
247 | m_proc = m_not = 0l; | ||
245 | close( m_term[0] ); | 248 | close( m_term[0] ); |
246 | close( m_term[1] ); | 249 | close( m_term[1] ); |
247 | close( m_comm[0] ); | 250 | close( m_comm[0] ); |