-rw-r--r-- | core/obex/obex.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/obex/obex.cpp b/core/obex/obex.cpp index e4a3c31..670f1a5 100644 --- a/core/obex/obex.cpp +++ b/core/obex/obex.cpp @@ -48,9 +48,9 @@ using namespace Opie::Core; Obex::Obex( QObject *parent, const char* name ) : ObexBase(parent, name ) { m_rec = 0; - m_send=0; + m_send = 0; }; Obex::~Obex() { delete m_rec; delete m_send; @@ -79,9 +79,8 @@ void Obex::send(const QString& fileName, const QString& addr) { if (m_rec->isRunning() ) { emit error(-1 ); delete m_rec; m_rec = 0; - }else{ emit error( -1 ); // we did not delete yet but it's not running slotExited is pending return; } |