author | zecke <zecke> | 2003-02-16 17:12:10 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-02-16 17:12:10 (UTC) |
commit | e9e20c4e64b8b228af928822e3d4a49ed773dc2e (patch) (side-by-side diff) | |
tree | 17cdd250d08093d4c1564b7e61015d764da7e590 /core/obex/obex.cc | |
parent | 7280d00082163307ecc09d8f4b98397dda460dd5 (diff) | |
download | opie-e9e20c4e64b8b228af928822e3d4a49ed773dc2e.zip opie-e9e20c4e64b8b228af928822e3d4a49ed773dc2e.tar.gz opie-e9e20c4e64b8b228af928822e3d4a49ed773dc2e.tar.bz2 |
Debug output
disabled some features inside the QTextView..
fixed two typos and the order of filename + description
it's sending now again
-rw-r--r-- | core/obex/obex.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/obex/obex.cc b/core/obex/obex.cc index 83d1faf..92cd317 100644 --- a/core/obex/obex.cc +++ b/core/obex/obex.cc @@ -1,5 +1,6 @@ #include <qapplication.h> +#include <qfile.h> #include <qmessagebox.h> #include <qpe/qcopenvelope_qws.h> #include <opie/oprocess.h> @@ -48,7 +49,7 @@ void Obex::receive() { void Obex::send( const QString& fileName) { // if currently receiving stop it send receive m_count = 0; m_file = fileName; - qWarning("send"); + qWarning("send %s", fileName.latin1() ); if (m_rec != 0 ) { qWarning("running"); if (m_rec->isRunning() ) { @@ -75,7 +76,7 @@ void Obex::sendNow(){ // OProcess inititialisation m_send = new OProcess(); *m_send << "irobex_palm3"; - *m_send << m_file; + *m_send << QFile::encodeName(m_file); // connect to slots Exited and and StdOut connect(m_send, SIGNAL(processExited(OProcess*) ), |