-rw-r--r-- | core/obex/obex.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/obex/obex.cc b/core/obex/obex.cc index 92cd317..b8ed6e0 100644 --- a/core/obex/obex.cc +++ b/core/obex/obex.cc @@ -19,3 +19,3 @@ Obex::Obex( QObject *parent, const char* name ) SLOT(slotError() ) ); - connect( this, SIGNAL(sent() ), + connect( this, SIGNAL(sent(bool) ), SLOT(slotError() ) ); @@ -108,4 +108,4 @@ void Obex::slotStdOut(OProcess* proc, char* buf, int len){ if ( proc == m_rec ) { // only receive - QCString cstring( buf, len ); - m_outp.append( cstring.data() ); + QString str = QString::fromUtf8( buf, len ); + m_outp.append( str ); } @@ -117,3 +117,3 @@ void Obex::received() { QString filename = parseOut(); - qWarning("ACHTUNG"); + qWarning("ACHTUNG %s", filename.latin1() ); emit receivedFile( filename ); |