From 30a098530260176ac20d75ba6cb7abfb3d998c13 Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 16 Feb 2003 15:49:02 +0000 Subject: disable snd in IrDaApplet it hangs on my machine.. Remove the hacky OBEX Implementation Add a more cleaned up more appealing (not yet working) version which will even be able to do OBEX over Bluetooth in the future -It handles receive better let's you choose what to do with custom files and created a DocLnk -Send lets you beam to multiple devices this needs the IrDa Applet to be present --- (limited to 'core/applets/irdaapplet') diff --git a/core/applets/irdaapplet/irda.cpp b/core/applets/irdaapplet/irda.cpp index 84c656f..a5b4bfc 100644 --- a/core/applets/irdaapplet/irda.cpp +++ b/core/applets/irdaapplet/irda.cpp @@ -176,8 +176,8 @@ bool IrdaApplet::setIrdaReceiveStatus ( bool d ) void IrdaApplet::showDiscovered ( ) { - static Sound snd_found ( "irdaapplet/irdaon" ); - static Sound snd_lost ( "irdaapplet/irdaoff" ); +// static Sound snd_found ( "irdaapplet/irdaon" ); +// static Sound snd_lost ( "irdaapplet/irdaoff" ); QFile discovery ( "/proc/net/irda/discovery" ); @@ -206,7 +206,7 @@ void IrdaApplet::showDiscovered ( ) if ( !m_devices. contains ( deviceAddr )) { popup ( tr( "Found:" ) + " " + discoveredDevice ); - snd_found. play ( ); + //snd_found. play ( ); qcopsend = true; } m_devices. replace ( deviceAddr, discoveredDevice ); @@ -218,7 +218,7 @@ void IrdaApplet::showDiscovered ( ) if ( it. data ( ). left ( 3 ) == "+++" ) { popup ( tr( "Lost:" ) + " " + it. data ( ). mid ( 3 )); - snd_lost. play ( ); + //snd_lost. play ( ); QMap ::Iterator tmp = it; tmp++; -- cgit v0.9.0.2