author | zecke <zecke> | 2004-09-12 18:55:56 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-09-12 18:55:56 (UTC) |
commit | 46a2a6d2f0046b6971cae371453705f6177fc93e (patch) (side-by-side diff) | |
tree | efb29d94d733716631f65820249e81691ff55761 /core/obex/obexsend.cpp | |
parent | 36a4f75e1f4e5a3858749779ea26a3fe3154d1f0 (diff) | |
download | opie-46a2a6d2f0046b6971cae371453705f6177fc93e.zip opie-46a2a6d2f0046b6971cae371453705f6177fc93e.tar.gz opie-46a2a6d2f0046b6971cae371453705f6177fc93e.tar.bz2 |
-Kill all owarn statements as they're not needed/useful anymore
-Kill all hardcoding to latin1 and use the system encoding/decoding
-rw-r--r-- | core/obex/obexsend.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/core/obex/obexsend.cpp b/core/obex/obexsend.cpp index f3dd11c..675c5e4 100644 --- a/core/obex/obexsend.cpp +++ b/core/obex/obexsend.cpp @@ -105,7 +105,6 @@ void SendWidget::send( const QString& file, const QString& desc ) { } } void SendWidget::slotIrDaDevices( const QStringList& list) { - owarn << "slot it irda devices " << oendl; for (QStringList::ConstIterator it = list.begin(); it != list.end(); ++it ) { int id = m_devBox->addDevice( (*it), DeviceBox::IrDa, tr("Scheduling for beam.") ); m_irDa.insert( id, (*it) ); @@ -123,8 +122,7 @@ void SendWidget::slotBTDevices( const QMap<QString, QString>& str ) { } m_devBox->removeDevice( m_btDeSearch ); } -void SendWidget::slotSelectedDevice( int name, int dev ) { - owarn << "Start beam? " << name << " " << dev << "" << oendl; +void SendWidget::slotSelectedDevice( int name, int ) { if ( name == m_irDeSearch ) { for (QMap<int, QString>::Iterator it= m_irDa.begin(); it != m_irDa.end(); ++it ) m_devBox->removeDevice( it.key() ); @@ -133,7 +131,6 @@ void SendWidget::slotSelectedDevice( int name, int dev ) { } } void SendWidget::dispatchIrda( const QCString& str, const QByteArray& ar ) { - owarn << "dispatch irda " << str.data() << "" << oendl; if ( str == "devices(QStringList)" ) { QDataStream stream( ar, IO_ReadOnly ); QStringList list; @@ -148,7 +145,6 @@ void SendWidget::slotIrError( int ) { } void SendWidget::slotIrSent( bool b) { - owarn << "irda sent!!" << oendl; QString text = b ? tr("Sent") : tr("Failure"); m_devBox->setStatus( m_irDaIt.key(), text ); ++m_irDaIt; @@ -205,7 +201,6 @@ void DeviceBox::setStatus( int id, const QString& status ) { setText( allText() ); } void DeviceBox::setSource( const QString& str ) { - owarn << "SetSource:" << str.toInt() << "" << oendl; int id = str.toInt(); emit selectedDevice( id, m_dev[id].device() ); } |