summaryrefslogtreecommitdiff
path: root/core/obex/obex.cpp
Side-by-side diff
Diffstat (limited to 'core/obex/obex.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/obex/obex.cpp1
1 files changed, 0 insertions, 1 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
@@ -77,13 +77,12 @@ void Obex::send(const QString& fileName, const QString& addr) {
ObexBase::send(fileName, addr);
if (m_rec != 0 ) {
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;
}
}
sendNow();