summaryrefslogtreecommitdiff
path: root/core
Unidiff
Diffstat (limited to 'core') (more/less context) (show whitespace changes)
-rw-r--r--core/applets/cardmon/cardmon.cpp2
-rw-r--r--core/applets/irdaapplet/irda.cpp2
2 files changed, 2 insertions, 2 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 ) {
354 delete m_process; 354 delete m_process;
355 m_process = 0; 355 m_process = 0;
356 } 356 }
357 } 357 }
358} 358}
359 359
360void CardMonitor::slotExited( OProcess* proc ) { 360void CardMonitor::slotExited( OProcess* ) {
361 361
362 if( m_process->normalExit() ) { 362 if( m_process->normalExit() ) {
363 int ret = m_process->exitStatus(); 363 int ret = m_process->exitStatus();
364 if( ret != 0 ) { 364 if( ret != 0 ) {
365 if ( m_commandOrig == 1 ) { 365 if ( m_commandOrig == 1 ) {
366 popUp( tr( "CF/PCMCIA card eject failed!" ) ); 366 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
@@ -328,13 +328,13 @@ void IrdaApplet::paintEvent ( QPaintEvent * )
328 * We know 3 calls 328 * We know 3 calls
329 * a) enable 329 * a) enable
330 * b) disable 330 * b) disable
331 * a and b will temp enable the IrDa device and disable will disable it again if it wasn't on 331 * a and b will temp enable the IrDa device and disable will disable it again if it wasn't on
332 * c) listDevices: We will return a list of known devices 332 * c) listDevices: We will return a list of known devices
333 */ 333 */
334void IrdaApplet::slotMessage( const QCString& str, const QByteArray& ar ) { 334void IrdaApplet::slotMessage( const QCString& str, const QByteArray& ) {
335 if ( str == "enableIrda()") { 335 if ( str == "enableIrda()") {
336 m_wasOn = checkIrdaStatus(); 336 m_wasOn = checkIrdaStatus();
337 m_wasDiscover = checkIrdaDiscoveryStatus(); 337 m_wasDiscover = checkIrdaDiscoveryStatus();
338 if (!m_wasOn) { 338 if (!m_wasOn) {
339 setIrdaStatus( true ); 339 setIrdaStatus( true );
340 } 340 }