-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 @@ -2,2 +2,3 @@ #include <qapplication.h> +#include <qfile.h> #include <qmessagebox.h> @@ -50,3 +51,3 @@ void Obex::send( const QString& fileName) { // if currently receiving stop it se m_file = fileName; - qWarning("send"); + qWarning("send %s", fileName.latin1() ); if (m_rec != 0 ) { @@ -77,3 +78,3 @@ void Obex::sendNow(){ *m_send << "irobex_palm3"; - *m_send << m_file; + *m_send << QFile::encodeName(m_file); |