From 15fbd2a9189281ca84d89ad6a77261d0046add36 Mon Sep 17 00:00:00 2001 From: paule Date: Sun, 15 Jul 2007 10:07:39 +0000 Subject: Remove erroneous #ifdef BLUETOOTH around code which is for IR only. Patch courtesy of Marek Vasut . --- diff --git a/core/obex/obexsend.cpp b/core/obex/obexsend.cpp index d58b4e9..a401a40 100644 --- a/core/obex/obexsend.cpp +++ b/core/obex/obexsend.cpp @@ -178,14 +178,10 @@ void SendWidget::slotIrError( int ) { irdaStatus->setText(tr("error :(")); } void SendWidget::slotIrSent( bool b) { -#ifdef BLUETOOTH QString text = b ? tr("Sent") : tr("Failure"); setReceiverStatus( m_irDaIt.key(), text ); ++m_irDaIt; slotStartIrda(); -#else - (void)b; -#endif } void SendWidget::slotIrTry(unsigned int trI) { setReceiverStatus(m_irDaIt.key(), tr("Try %1").arg( QString::number( trI ) )); -- cgit v0.9.0.2