Diffstat (limited to 'noncore/applets/pcmcia/pcmcia.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/pcmcia/pcmcia.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/applets/pcmcia/pcmcia.cpp b/noncore/applets/pcmcia/pcmcia.cpp index 4fcc189..6c18e86 100644 --- a/noncore/applets/pcmcia/pcmcia.cpp +++ b/noncore/applets/pcmcia/pcmcia.cpp @@ -133,3 +133,3 @@ void PcmciaManager::mousePressEvent( QMouseEvent* ) submenu->insertItem( "&Configure", CONFIGURE+i*100 ); - + submenu->setItemEnabled( EJECT+i*100, !it.current()->isEmpty() ); @@ -139,3 +139,3 @@ void PcmciaManager::mousePressEvent( QMouseEvent* ) submenu->setItemEnabled( CONFIGURE+i*100, !it.current()->isEmpty() ); - + connect( submenu, SIGNAL(activated(int)), this, SLOT(userCardAction(int)) ); @@ -172,3 +172,3 @@ void PcmciaManager::cardMessage( const QCString & msg, const QByteArray & ) OPcmciaSocket* theCard = 0; - + while ( it.current() && newCard ) @@ -236,3 +236,3 @@ void PcmciaManager::paintEvent( QPaintEvent * ) odebug << "sockets = " << OPcmciaSystem::instance()->count() << ", cards = " << OPcmciaSystem::instance()->cardCount() << oendl; - + if ( OPcmciaSystem::instance()->cardCount() ) @@ -260,6 +260,6 @@ void PcmciaManager::userCardAction( int action ) odebug << "user action requested. action = " << action << oendl; - + int socket = action / 100; int what = action % 100; - + switch ( what ) |