summaryrefslogtreecommitdiff
Unidiff
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 ) {
169void SendWidget::dispatchIrda( const QCString& str, const QByteArray& ar ) { 169void SendWidget::dispatchIrda( const QCString& str, const QByteArray& ar ) {
170 if ( str == "devices(QStringList)" ) { 170 if ( str == "devices(QStringList)" ) {
171 QDataStream stream( ar, IO_ReadOnly ); 171 QDataStream stream( ar, IO_ReadOnly );
172 QStringList list; 172 QStringList list;
173 stream >> list; 173 stream >> list;
174 slotIrDaDevices( list ); 174 slotIrDaDevices( list );
175 } 175 }
176} 176}
177void SendWidget::slotIrError( int ) { 177void SendWidget::slotIrError( int ) {
178 irdaStatus->setText(tr("error :(")); 178 irdaStatus->setText(tr("error :("));
179} 179}
180void SendWidget::slotIrSent( bool b) { 180void 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}
190void SendWidget::slotIrTry(unsigned int trI) { 186void 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 ) ));
192} 188}
193void SendWidget::slotStartIrda() { 189void SendWidget::slotStartIrda() {
194 if ( !m_irDa.count() ) 190 if ( !m_irDa.count() )
195 return; 191 return;
196 if ( m_irDaIt == m_irDa.end() || !receiverSelected(m_irDaIt.key())) { 192 if ( m_irDaIt == m_irDa.end() || !receiverSelected(m_irDaIt.key())) {
197 irdaStatus->setText(tr("complete.")); 193 irdaStatus->setText(tr("complete."));
198 m_irDaIt = m_irDa.begin(); 194 m_irDaIt = m_irDa.begin();
199 return; 195 return;
200 } 196 }