summaryrefslogtreecommitdiff
path: root/core/applets/cardmon/cardmon.cpp
Unidiff
Diffstat (limited to 'core/applets/cardmon/cardmon.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/applets/cardmon/cardmon.cpp2
1 files changed, 1 insertions, 1 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
@@ -348,25 +348,25 @@ void CardMonitor::execCommand( const QString &command ) {
348 } 348 }
349 349
350 connect(m_process, SIGNAL( processExited(Opie::Core::OProcess*) ), 350 connect(m_process, SIGNAL( processExited(Opie::Core::OProcess*) ),
351 this, SLOT( slotExited(Opie::Core::OProcess* ) ) ); 351 this, SLOT( slotExited(Opie::Core::OProcess* ) ) );
352 352
353 if(!m_process->start(OProcess::NotifyOnExit, OProcess::AllOutput ) ) { 353 if(!m_process->start(OProcess::NotifyOnExit, OProcess::AllOutput ) ) {
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!" ) );
367 } else if ( m_commandOrig == 2 ) { 367 } else if ( m_commandOrig == 2 ) {
368 popUp( tr( "SD/MMC card eject failed!" ) ); 368 popUp( tr( "SD/MMC card eject failed!" ) );
369 } else if ( m_commandOrig == 3 ) { 369 } else if ( m_commandOrig == 3 ) {
370 popUp( tr( "CF/PCMCIA card eject failed!" ) ); 370 popUp( tr( "CF/PCMCIA card eject failed!" ) );
371 } 371 }
372 } 372 }