-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,4 +1,5 @@ | |||
1 | 1 | ||
2 | #include <qapplication.h> | 2 | #include <qapplication.h> |
3 | #include <qfile.h> | ||
3 | #include <qmessagebox.h> | 4 | #include <qmessagebox.h> |
4 | #include <qpe/qcopenvelope_qws.h> | 5 | #include <qpe/qcopenvelope_qws.h> |
@@ -49,5 +50,5 @@ void Obex::send( const QString& fileName) { // if currently receiving stop it se | |||
49 | m_count = 0; | 50 | m_count = 0; |
50 | m_file = fileName; | 51 | m_file = fileName; |
51 | qWarning("send"); | 52 | qWarning("send %s", fileName.latin1() ); |
52 | if (m_rec != 0 ) { | 53 | if (m_rec != 0 ) { |
53 | qWarning("running"); | 54 | qWarning("running"); |
@@ -76,5 +77,5 @@ void Obex::sendNow(){ | |||
76 | m_send = new OProcess(); | 77 | m_send = new OProcess(); |
77 | *m_send << "irobex_palm3"; | 78 | *m_send << "irobex_palm3"; |
78 | *m_send << m_file; | 79 | *m_send << QFile::encodeName(m_file); |
79 | 80 | ||
80 | // connect to slots Exited and and StdOut | 81 | // connect to slots Exited and and StdOut |