summaryrefslogtreecommitdiff
path: root/core/applets
authorzecke <zecke>2004-09-10 11:01:04 (UTC)
committer zecke <zecke>2004-09-10 11:01:04 (UTC)
commitad5c2ec48c34fe41d826893c5b0fb24b08bc639d (patch) (side-by-side diff)
tree589ddde4441795af4147b9b9dd82e4381a0dc6f9 /core/applets
parent1ce7786a16ee7b9679391090eeedc4cbcaab81ca (diff)
downloadopie-ad5c2ec48c34fe41d826893c5b0fb24b08bc639d.zip
opie-ad5c2ec48c34fe41d826893c5b0fb24b08bc639d.tar.gz
opie-ad5c2ec48c34fe41d826893c5b0fb24b08bc639d.tar.bz2
Fix warnings about unused parameter
Diffstat (limited to 'core/applets') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/cardmon/cardmon.cpp2
-rw-r--r--core/applets/irdaapplet/irda.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/core/applets/cardmon/cardmon.cpp b/core/applets/cardmon/cardmon.cpp
index 3f07b41..48146ab 100644
--- a/core/applets/cardmon/cardmon.cpp
+++ b/core/applets/cardmon/cardmon.cpp
@@ -354,13 +354,13 @@ void CardMonitor::execCommand( const QString &command ) {
delete m_process;
m_process = 0;
}
}
}
-void CardMonitor::slotExited( OProcess* proc ) {
+void CardMonitor::slotExited( OProcess* ) {
if( m_process->normalExit() ) {
int ret = m_process->exitStatus();
if( ret != 0 ) {
if ( m_commandOrig == 1 ) {
popUp( tr( "CF/PCMCIA card eject failed!" ) );
diff --git a/core/applets/irdaapplet/irda.cpp b/core/applets/irdaapplet/irda.cpp
index 7122b40..267714e 100644
--- a/core/applets/irdaapplet/irda.cpp
+++ b/core/applets/irdaapplet/irda.cpp
@@ -204,25 +204,25 @@ void IrdaApplet::showDiscovered ( )
const QString &line = *lit;
if ( line. startsWith ( "nickname:" )) {
discoveredDevice = line. mid ( line. find ( ':' ) + 2, line. find ( ',' ) - line. find ( ':' ) - 2 );
deviceAddr = line. mid ( line. find ( "daddr:" ) + 9, 8 );
- // odebug << discoveredDevice + "(" + deviceAddr + ")" << oendl;
+ // odebug << discoveredDevice + "(" + deviceAddr + ")" << oendl;
if ( !m_devices. contains ( deviceAddr )) {
popup ( tr( "Found:" ) + " " + discoveredDevice );
//snd_found. play ( );
qcopsend = true;
}
m_devices. replace ( deviceAddr, discoveredDevice );
}
}
for ( it = m_devices. begin ( ); it != m_devices. end ( ); ) {
- // odebug << "IrdaMon: delete " + it.currentKey() + "=" + *devicesAvailable[it.currentKey()] + "?" << oendl;
+ // odebug << "IrdaMon: delete " + it.currentKey() + "=" + *devicesAvailable[it.currentKey()] + "?" << oendl;
if ( it. data ( ). left ( 3 ) == "+++" ) {
popup ( tr( "Lost:" ) + " " + it. data ( ). mid ( 3 ));
//snd_lost. play ( );
QMap <QString, QString>::Iterator tmp = it;
@@ -328,13 +328,13 @@ void IrdaApplet::paintEvent ( QPaintEvent * )
* We know 3 calls
* a) enable
* b) disable
* a and b will temp enable the IrDa device and disable will disable it again if it wasn't on
* c) listDevices: We will return a list of known devices
*/
-void IrdaApplet::slotMessage( const QCString& str, const QByteArray& ar ) {
+void IrdaApplet::slotMessage( const QCString& str, const QByteArray& ) {
if ( str == "enableIrda()") {
m_wasOn = checkIrdaStatus();
m_wasDiscover = checkIrdaDiscoveryStatus();
if (!m_wasOn) {
setIrdaStatus( true );
}