summaryrefslogtreecommitdiff
authorpaule <paule>2007-07-15 10:07:39 (UTC)
committer paule <paule>2007-07-15 10:07:39 (UTC)
commit15fbd2a9189281ca84d89ad6a77261d0046add36 (patch) (side-by-side diff)
treedac2df5ba719b26ab536fe1bb505325749d3c975
parentfdc3476cebdffd6574fa7e874c1051b0b8bc6145 (diff)
downloadopie-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>.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/obex/obexsend.cpp4
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
@@ -169,32 +169,28 @@ void SendWidget::slotSelectedDevice( int, int ) {
void SendWidget::dispatchIrda( const QCString& str, const QByteArray& ar ) {
if ( str == "devices(QStringList)" ) {
QDataStream stream( ar, IO_ReadOnly );
QStringList list;
stream >> list;
slotIrDaDevices( list );
}
}
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 ) ));
}
void SendWidget::slotStartIrda() {
if ( !m_irDa.count() )
return;
if ( m_irDaIt == m_irDa.end() || !receiverSelected(m_irDaIt.key())) {
irdaStatus->setText(tr("complete."));
m_irDaIt = m_irDa.begin();
return;
}