author | paule <paule> | 2007-07-15 10:07:39 (UTC) |
---|---|---|
committer | paule <paule> | 2007-07-15 10:07:39 (UTC) |
commit | 15fbd2a9189281ca84d89ad6a77261d0046add36 (patch) (unidiff) | |
tree | dac2df5ba719b26ab536fe1bb505325749d3c975 /core | |
parent | fdc3476cebdffd6574fa7e874c1051b0b8bc6145 (diff) | |
download | opie-15fbd2a9189281ca84d89ad6a77261d0046add36.zip opie-15fbd2a9189281ca84d89ad6a77261d0046add36.tar.gz opie-15fbd2a9189281ca84d89ad6a77261d0046add36.tar.bz2 |
Remove erroneous #ifdef BLUETOOTH around code which is for IR only. Patch courtesy of Marek Vasut <marek.vasut@gmail.com>.
-rw-r--r-- | core/obex/obexsend.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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 ) { | |||
178 | irdaStatus->setText(tr("error :(")); | 178 | irdaStatus->setText(tr("error :(")); |
179 | } | 179 | } |
180 | void SendWidget::slotIrSent( bool b) { | 180 | void SendWidget::slotIrSent( bool b) { |
181 | #ifdef BLUETOOTH | ||
182 | QString text = b ? tr("Sent") : tr("Failure"); | 181 | QString text = b ? tr("Sent") : tr("Failure"); |
183 | setReceiverStatus( m_irDaIt.key(), text ); | 182 | setReceiverStatus( m_irDaIt.key(), text ); |
184 | ++m_irDaIt; | 183 | ++m_irDaIt; |
185 | slotStartIrda(); | 184 | slotStartIrda(); |
186 | #else | ||
187 | (void)b; | ||
188 | #endif | ||
189 | } | 185 | } |
190 | void SendWidget::slotIrTry(unsigned int trI) { | 186 | void SendWidget::slotIrTry(unsigned int trI) { |
191 | setReceiverStatus(m_irDaIt.key(), tr("Try %1").arg( QString::number( trI ) )); | 187 | setReceiverStatus(m_irDaIt.key(), tr("Try %1").arg( QString::number( trI ) )); |