summaryrefslogtreecommitdiff
authorsandman <sandman>2002-09-30 21:10:57 (UTC)
committer sandman <sandman>2002-09-30 21:10:57 (UTC)
commitf02403852366623aef6f53258b237e467a25e597 (patch) (unidiff)
tree091ae74adbb8aad80d2055e775cb65e3c377ae87
parentf49ad5cf3bdc1d1c06be4615a649b6be6f179b83 (diff)
downloadopie-f02403852366623aef6f53258b237e467a25e597.zip
opie-f02403852366623aef6f53258b237e467a25e597.tar.gz
opie-f02403852366623aef6f53258b237e467a25e597.tar.bz2
small change to work with the new ODevice API
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/cardmon/cardmon.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/applets/cardmon/cardmon.cpp b/core/applets/cardmon/cardmon.cpp
index 583f2da..c0a936f 100644
--- a/core/applets/cardmon/cardmon.cpp
+++ b/core/applets/cardmon/cardmon.cpp
@@ -42,6 +42,8 @@
42#include <mntent.h> 42#include <mntent.h>
43#endif 43#endif
44 44
45using namespace Opie;
46
45CardMonitor::CardMonitor( QWidget *parent ) : QWidget( parent ), 47CardMonitor::CardMonitor( QWidget *parent ) : QWidget( parent ),
46 pm( Resource::loadPixmap( "cardmon/pcmcia" ) ) { 48 pm( Resource::loadPixmap( "cardmon/pcmcia" ) ) {
47 49
@@ -128,7 +130,7 @@ void CardMonitor::mousePressEvent( QMouseEvent * ) {
128 popUp( tr( "CF/PCMCIA card eject failed!" ) ); 130 popUp( tr( "CF/PCMCIA card eject failed!" ) );
129 } 131 }
130 } else if ( opt == 0 ) { 132 } else if ( opt == 0 ) {
131 if ( ODevice::inst()->system() == OSYSTEM_Familiar ) { 133 if ( ODevice::inst()->system() == System_Familiar ) {
132 cmd = "umount /dev/mmc/part1"; 134 cmd = "umount /dev/mmc/part1";
133 err = system( ( const char *) cmd ); 135 err = system( ( const char *) cmd );
134 if ( ( err != 0 ) ) { 136 if ( ( err != 0 ) ) {