author | sandman <sandman> | 2002-09-30 21:10:57 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-09-30 21:10:57 (UTC) |
commit | f02403852366623aef6f53258b237e467a25e597 (patch) (side-by-side diff) | |
tree | 091ae74adbb8aad80d2055e775cb65e3c377ae87 | |
parent | f49ad5cf3bdc1d1c06be4615a649b6be6f179b83 (diff) | |
download | opie-f02403852366623aef6f53258b237e467a25e597.zip opie-f02403852366623aef6f53258b237e467a25e597.tar.gz opie-f02403852366623aef6f53258b237e467a25e597.tar.bz2 |
small change to work with the new ODevice API
-rw-r--r-- | core/applets/cardmon/cardmon.cpp | 4 |
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 @@ -43,4 +43,6 @@ #endif +using namespace Opie; + CardMonitor::CardMonitor( QWidget *parent ) : QWidget( parent ), pm( Resource::loadPixmap( "cardmon/pcmcia" ) ) { @@ -129,5 +131,5 @@ void CardMonitor::mousePressEvent( QMouseEvent * ) { } } else if ( opt == 0 ) { - if ( ODevice::inst()->system() == OSYSTEM_Familiar ) { + if ( ODevice::inst()->system() == System_Familiar ) { cmd = "umount /dev/mmc/part1"; err = system( ( const char *) cmd ); |