summaryrefslogtreecommitdiff
path: root/core/applets/obex/obex.cc
Unidiff
Diffstat (limited to 'core/applets/obex/obex.cc') (more/less context) (show whitespace changes)
-rw-r--r--core/applets/obex/obex.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/core/applets/obex/obex.cc b/core/applets/obex/obex.cc
index fc0be3b..43041f5 100644
--- a/core/applets/obex/obex.cc
+++ b/core/applets/obex/obex.cc
@@ -96,23 +96,24 @@ void Obex::sendNow(){
96} 96}
97 97
98void Obex::slotExited(OProcess* proc ){ 98void Obex::slotExited(OProcess* proc ){
99 if (proc == m_rec ) { // recieve process 99 if (proc == m_rec ) { // receive process
100 recieved(); 100 received();
101 }else if ( proc == m_send ) { 101 }else if ( proc == m_send ) {
102 sendEnd(); 102 sendEnd();
103 } 103 }
104} 104}
105void Obex::slotStdOut(OProcess* proc, char* buf, int len){ 105void Obex::slotStdOut(OProcess* proc, char* buf, int len){
106 if ( proc == m_rec ) { // only recieve 106 if ( proc == m_rec ) { // only receive
107 QCString cstring( buf, len ); 107 QCString cstring( buf, len );
108 m_outp.append( cstring.data() ); 108 m_outp.append( cstring.data() );
109 } 109 }
110} 110}
111 111
112void Obex::recieved() { 112void Obex::received() {
113 if (m_rec->normalExit() ) { 113 if (m_rec->normalExit() ) {
114 if ( m_rec->exitStatus() == 0 ) { // we got one 114 if ( m_rec->exitStatus() == 0 ) { // we got one
115 QString filename = parseOut(); 115 QString filename = parseOut();
116 qWarning("ACHTUNG");
116 emit receivedFile( filename ); 117 emit receivedFile( filename );
117 } 118 }
118 }else{ 119 }else{