-rw-r--r-- | core/obex/obexsend.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/obex/obexsend.cpp b/core/obex/obexsend.cpp index 0da57ca..1b19c6b 100644 --- a/core/obex/obexsend.cpp +++ b/core/obex/obexsend.cpp | |||
@@ -166,6 +166,10 @@ void SendWidget::slotStartIrda() { | |||
166 | m_devBox->setStatus( m_irDaIt.key(), tr("Start sending") ); | 166 | m_devBox->setStatus( m_irDaIt.key(), tr("Start sending") ); |
167 | m_obex->send( m_file ); | 167 | m_obex->send( m_file ); |
168 | } | 168 | } |
169 | void SendWidget::closeEvent( QCloseEvent* e) { | ||
170 | e->accept(); // make sure | ||
171 | QTimer::singleShot(0, this, SLOT(slotDone() ) ); | ||
172 | } | ||
169 | void SendWidget::slotDone() { | 173 | void SendWidget::slotDone() { |
170 | QCopEnvelope e0("QPE/IrDaApplet", "disableIrda()"); | 174 | QCopEnvelope e0("QPE/IrDaApplet", "disableIrda()"); |
171 | QCopEnvelope e1("QPE/Bluetooth", "disableBluetooth()"); | 175 | QCopEnvelope e1("QPE/Bluetooth", "disableBluetooth()"); |